projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
snapshot: move declarations to the right interface header
[model-checker.git]
/
snapshot-interface.h
diff --git
a/snapshot-interface.h
b/snapshot-interface.h
index 9a2b9cc18e3b3eaaa4e18434078126d2dbb1ccf6..e9746e1ebb35468ff20e0ea68fd9ee364a0e7cd6 100644
(file)
--- a/
snapshot-interface.h
+++ b/
snapshot-interface.h
@@
-1,8
+1,13
@@
#ifndef __SNAPINTERFACE_H
#define __SNAPINTERFACE_H
#ifndef __SNAPINTERFACE_H
#define __SNAPINTERFACE_H
-#include "snapshot.h"
#include "mymemory.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 SnapshotGlobalSegments();
void SnapshotGlobalSegments();