From 17c8d505c9bb272c520a778b58d3e8a579f89fab Mon Sep 17 00:00:00 2001 From: lado Date: Wed, 3 Apr 2013 09:58:02 +0200 Subject: current changes --- vdr-vdrmanager/sock.h | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'vdr-vdrmanager/sock.h') diff --git a/vdr-vdrmanager/sock.h b/vdr-vdrmanager/sock.h index 25a7b83..0234afc 100644 --- a/vdr-vdrmanager/sock.h +++ b/vdr-vdrmanager/sock.h @@ -5,7 +5,6 @@ #ifndef _VDRMON_SOCK #define _VDRMON_SOCK -#include #include #include #include @@ -18,7 +17,6 @@ protected: int sock; const char * password; bool forceCheckSvdrp; - int compressionMode; protected: cVdrmanagerSocket(); bool IsPasswordSet(); @@ -35,18 +33,11 @@ class cVdrmanagerClientSocket : public cVdrmanagerSocket private: string readbuf; string writebuf; - char * sendbuf; - size_t sendsize; - size_t sendoffset; bool disconnected; - bool initDisconnect; int client; bool login; - bool compression; - bool initCompression; - int compressionMode; public: - cVdrmanagerClientSocket(const char * password, int compressionMode); + cVdrmanagerClientSocket(const char * password); virtual ~cVdrmanagerClientSocket(); bool Attach(int fd); bool IsLineComplete(); @@ -60,8 +51,6 @@ public: bool WritePending(); bool IsLoggedIn(); void SetLoggedIn(); - void ActivateCompression(); - void Compress(); }; class cVdrmanagerServerSocket : public cVdrmanagerSocket @@ -69,7 +58,7 @@ class cVdrmanagerServerSocket : public cVdrmanagerSocket public: cVdrmanagerServerSocket(); virtual ~cVdrmanagerServerSocket(); - bool Create(int port, const char * password, bool forceCheckSvdrp, int compressionMode); + bool Create(int port, const char * password, bool forceCheckSvdrp); cVdrmanagerClientSocket * Accept(); }; -- cgit v1.2.3