diff options
Diffstat (limited to 'include/Handle.h')
-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 763a34b..938c594 100644 --- a/include/Handle.h +++ b/include/Handle.h @@ -40,10 +40,13 @@ class Handle : public Base { virtual int Dup() const throw (GeneralException); virtual void SetZ(int = 9) throw (GeneralException); virtual void Flush(); + + void * mmap(off_t = 0, size_t = -1); protected: Handle(int h); int GetHandle() const; off_t itell; + void * hFile; private: ssize_t uwrite(const void *, size_t) throw (GeneralException); ssize_t uread(void *, size_t); @@ -52,6 +55,7 @@ class Handle : public Base { gzFile zfile; z_stream zstrm; int z, c; + void * hMapObject; }; Handle & operator<<(Handle &, const String &); |