X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=snapshot.h;h=e41eb9c9debfecc7cac7cfc912b6a3c190000966;hb=84e24d516d4e9dbd30f1fff7e9a185d1540d20eb;hp=cc5e7e535408dd03a9002af41122ed5bfbe53476;hpb=843f65d8af9e9b4c73f844ecc2a22fbafaee7967;p=model-checker.git diff --git a/snapshot.h b/snapshot.h index cc5e7e5..e41eb9c 100644 --- a/snapshot.h +++ b/snapshot.h @@ -1,3 +1,7 @@ +/** @file snapshot.h + * @brief Snapshotting interface header file. + */ + #ifndef _SNAPSHOT_H #define _SNAPSHOT_H @@ -13,16 +17,11 @@ #define SIGSTACKSIZE 32768 void addMemoryRegionToSnapShot( void * ptr, unsigned int numPages ); - snapshot_id takeSnapshot( ); - void rollBack( snapshot_id theSnapShot ); -#ifdef __cplusplus -extern "C" { -#endif -void createSharedLibrary(); -#ifdef __cplusplus -}; /* end of extern "C" */ +#if !USE_MPROTECT_SNAPSHOT +void createSharedMemory(); #endif + #endif