From 7fba30e97d12d2c9fb9cfeea0df82f5b6c0e7d52 Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 25 Nov 2003 10:18:04 +0000 Subject: Fixed mmap --- include/Handle.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 &); -- cgit v1.2.3