diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-04-01 14:13:42 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-04-01 14:13:42 +0200 |
commit | ab626eecd36217d15f9bee3e7e82100ca93c16d1 (patch) | |
tree | 51b709d49c09550fe3f5b274c182bc34cdcfdfe0 /svdrp.h | |
parent | 28130daef7b11beeafaf0c59dd45e8f0aafd6d5b (diff) | |
download | vdr-ab626eecd36217d15f9bee3e7e82100ca93c16d1.tar.gz vdr-ab626eecd36217d15f9bee3e7e82100ca93c16d1.tar.bz2 |
SVDRP now also works with clients that don't do line buffering
Diffstat (limited to 'svdrp.h')
-rw-r--r-- | svdrp.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: svdrp.h 1.7 2001/02/18 13:36:47 kls Exp $ + * $Id: svdrp.h 1.8 2001/04/01 14:10:33 kls Exp $ */ #ifndef __SVDRP_H @@ -26,11 +26,15 @@ public: int Accept(void); }; +#define MAXCMDBUFFER 1024 + class cSVDRP { private: cSocket socket; cFile file; CRect ovlClipRects[MAXCLIPRECTS]; + uint numChars; + char cmdLine[MAXCMDBUFFER]; char *message; time_t lastActivity; void Close(bool Timeout = false); |