X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=snapshot.h;h=d3fc7b80f9856e5c83a662ba1235c72a6f1b18f4;hb=130a35155171503883aaf18e57f8957ce63d06e8;hp=76d63acfb00d7e994a4e4ab8ac2452f5a12d5617;hpb=6e5c0bb2359b9fba6160957ffa88974233ba18ac;p=model-checker.git diff --git a/snapshot.h b/snapshot.h index 76d63ac..d3fc7b8 100644 --- a/snapshot.h +++ b/snapshot.h @@ -7,13 +7,14 @@ #include "snapshot-interface.h" #include "config.h" +#include "mymemory.h" -void addMemoryRegionToSnapShot(void *ptr, unsigned int numPages); -snapshot_id takeSnapshot(); -void rollBack(snapshot_id theSnapShot); +void snapshot_add_memory_region(void *ptr, unsigned int numPages); +snapshot_id take_snapshot(); +void snapshot_roll_back(snapshot_id theSnapShot); #if !USE_MPROTECT_SNAPSHOT -void createSharedMemory(); +mspace create_shared_mspace(); #endif #endif