4 #include "snapshot-interface.h"
8 /* If USE_MPROTECT_SNAPSHOT=1, then snapshot by using mmap() and mprotect()
9 If USE_MPROTECT_SNAPSHOT=0, then snapshot by using fork() */
10 #define USE_MPROTECT_SNAPSHOT 1
12 /* Size of signal stack */
13 #define SIGSTACKSIZE 16384
15 void addMemoryRegionToSnapShot( void * ptr, unsigned int numPages );
17 snapshot_id takeSnapshot( );
19 void rollBack( snapshot_id theSnapShot );
26 void createSharedLibrary();
28 }; /* end of extern "C" */