summaryrefslogtreecommitdiff
path: root/include/Handle.h
diff options
context:
space:
mode:
authorpixel <pixel>2003-11-25 10:18:04 +0000
committerpixel <pixel>2003-11-25 10:18:04 +0000
commit7fba30e97d12d2c9fb9cfeea0df82f5b6c0e7d52 (patch)
tree28b72c1376a9d872f2b16c9d174bd36d29934ce5 /include/Handle.h
parent998c8772510563a4bdf3019b188082c58b6afa0a (diff)
Fixed mmap
Diffstat (limited to 'include/Handle.h')
-rw-r--r--include/Handle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/Handle.h b/include/Handle.h
index 64e082b..79799da 100644
--- a/include/Handle.h
+++ b/include/Handle.h
@@ -42,6 +42,7 @@ class Handle : public Base {
virtual void Flush();
void * mmap(off_t = 0, size_t = -1) throw (GeneralException);
+ void munmap() throw (GeneralException);
protected:
Handle(int h);
int GetHandle() const;
@@ -56,6 +57,9 @@ class Handle : public Base {
z_stream zstrm;
int z, c;
void * hMapObject;
+ bool mapped;
+ size_t maplength;
+ void * mappedarea;
};
Handle & operator<<(Handle &, const String &);