summaryrefslogtreecommitdiff
path: root/include/apr_mmap.h
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2000-12-07 06:58:59 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2000-12-07 06:58:59 +0000
commit546fc279369de2c8607838c7c4d78eb312cb3345 (patch)
tree11098bb1fb6e42534b40e0c616f00ca69e06b882 /include/apr_mmap.h
parentaf71460fad496a8568255fedb6d657394b926745 (diff)
downloadlibapr-546fc279369de2c8607838c7c4d78eb312cb3345.tar.gz
Implement Win32 MMAP support.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60912 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_mmap.h')
-rw-r--r--include/apr_mmap.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/apr_mmap.h b/include/apr_mmap.h
index 4cf4e58fe..a95cedaef 100644
--- a/include/apr_mmap.h
+++ b/include/apr_mmap.h
@@ -90,6 +90,16 @@ struct apr_mmap_t {
/** An area ID. Only valid on BeOS */
area_id area;
#endif
+#ifdef WIN32
+ /** The handle of the file mapping */
+ HANDLE mhandle;
+ /** The start of the real memory page area (mapped view) */
+ void *mv;
+ /** The physical start, size and offset */
+ size_t pstart;
+ size_t psize;
+ size_t poffset;
+#endif
/** The start of the memory mapped area */
void *mm;
/** The amount of data in the mmap */