Adding fixes for the fork based implementation, also removed some redundant code...
[model-checker.git] / snapshot-interface.h
index 9a2b9cc18e3b3eaaa4e18434078126d2dbb1ccf6..7e501fea4214292244273ebb806a3472591a8e09 100644 (file)
@@ -1,8 +1,14 @@
 #ifndef __SNAPINTERFACE_H
 #define __SNAPINTERFACE_H
-#include "snapshot.h"
 #include "mymemory.h"
-#include "snapshot.h"
+
+typedef unsigned int snapshot_id;
+
+typedef void (*VoidFuncPtr)();
+void initSnapShotLibrary(unsigned int numbackingpages,
+               unsigned int numsnapshots, unsigned int nummemoryregions,
+               unsigned int numheappages, VoidFuncPtr entryPoint);
+void finalize();
 
 void SnapshotGlobalSegments();