diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Handle.h | 4 |
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 &); |