4 #define USE_CHECKPOINTING 1
6 typedef unsigned int snapshot_id;
7 typedef void (*MyFuncPtr)();
8 void initSnapShotLibrary(unsigned int numbackingpages, unsigned int numsnapshots, unsigned int nummemoryregions, MyFuncPtr entryPoint);
10 void addMemoryRegionToSnapShot( void * ptr, unsigned int numPages );
12 snapshot_id takeSnapshot( );
14 void rollBack( snapshot_id theSnapShot );
21 void createSharedLibrary();
23 }; /* end of extern "C" */