4 #define USE_CHECKPOINTING 1
7 typedef unsigned int snapshot_id;
8 typedef void (*MyFuncPtr)();
9 void initSnapShotLibrary(unsigned int numbackingpages, unsigned int numsnapshots, unsigned int nummemoryregions, unsigned int numheappages, MyFuncPtr entryPoint);
11 void addMemoryRegionToSnapShot( void * ptr, unsigned int numPages );
13 snapshot_id takeSnapshot( );
15 void rollBack( snapshot_id theSnapShot );
22 void createSharedLibrary();
24 }; /* end of extern "C" */