summaryrefslogtreecommitdiff
path: root/includes/Handle.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Handle.h')
-rw-r--r--includes/Handle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/Handle.h b/includes/Handle.h
index 6e26e9c..fdaea2c 100644
--- a/includes/Handle.h
+++ b/includes/Handle.h
@@ -22,6 +22,9 @@ class Handle : public Base {
void SetNonBlock(void);
virtual bool CanRead();
virtual bool CanWrite();
+ virtual bool CanSeek();
+ virtual off_t seek(off_t, int) throw (GeneralException);
+ virtual off_t tell();
virtual String GetName();
virtual ssize_t GetSize();
virtual time_t GetModif();
@@ -39,6 +42,7 @@ class Handle : public Base {
bool closed, nonblock;
gzFile zfile;
int z;
+ off_t itell;
};
Handle & operator<<(Handle &, const String &);