summaryrefslogtreecommitdiff
path: root/svdrp.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-04-01 14:13:42 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-04-01 14:13:42 +0200
commitab626eecd36217d15f9bee3e7e82100ca93c16d1 (patch)
tree51b709d49c09550fe3f5b274c182bc34cdcfdfe0 /svdrp.h
parent28130daef7b11beeafaf0c59dd45e8f0aafd6d5b (diff)
downloadvdr-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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/svdrp.h b/svdrp.h
index 62c1e753..794d8be2 100644
--- a/svdrp.h
+++ b/svdrp.h
@@ -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);