git.annexia.org
/
hivex.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replacement mmap function for Win32.
[hivex.git]
/
lib
/
hivex-internal.h
diff --git
a/lib/hivex-internal.h
b/lib/hivex-internal.h
index
dc23ba5
..
43b1a76
100644
(file)
--- a/
lib/hivex-internal.h
+++ b/
lib/hivex-internal.h
@@
-59,6
+59,11
@@
struct hive_h {
/* For writing. */
size_t endblocks; /* Offset to next block allocation (0
if not allocated anything yet). */
+
+#ifndef HAVE_MMAP
+ /* Internal data for mmap replacement */
+ void *p_winmap;
+#endif
};
#define STREQ(a,b) (strcmp((a),(b)) == 0)