summaryrefslogtreecommitdiff
path: root/include/Handle.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Handle.h')
-rw-r--r--include/Handle.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/Handle.h b/include/Handle.h
index 6e0fcbc..763a34b 100644
--- a/include/Handle.h
+++ b/include/Handle.h
@@ -13,14 +13,16 @@ class Handle : public Base {
public:
Handle(const Handle &);
virtual ~Handle();
- virtual ssize_t read(void *buf, size_t count) throw (GeneralException);
- virtual ssize_t write(const void *buf, size_t count) throw (GeneralException);
+ virtual ssize_t read(void * buf, size_t count) throw (GeneralException);
+ virtual ssize_t write(const void * buf, size_t count) throw (GeneralException);
Uint8 readU8();
Uint16 readU16();
Uint32 readU32();
void writeU8(Uint8);
void writeU16(Uint16);
void writeU32(Uint32);
+ void copyto(Handle *, ssize_t = -1);
+ void copyfrom(Handle *, ssize_t = -1);
bool IsClosed(void) const;
bool IsNonBlock(void) const;
void SetNonBlock(void);