summaryrefslogtreecommitdiff
path: root/svdrp.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-02-24 11:13:21 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-02-24 11:13:21 +0100
commit46095d615109265ff42761e6d6607a25d15e2124 (patch)
tree0bff30f48888fca0eca36eb2948dea6e049b4f8a /svdrp.h
parent430284a8a78b536151b829d7ba63450b85cb2f90 (diff)
downloadvdr-46095d615109265ff42761e6d6607a25d15e2124.tar.gz
vdr-46095d615109265ff42761e6d6607a25d15e2124.tar.bz2
New SVDRP command PUTE
Diffstat (limited to 'svdrp.h')
-rw-r--r--svdrp.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/svdrp.h b/svdrp.h
index e68a92e4..42e5b691 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.13 2001/11/04 11:20:46 kls Exp $
+ * $Id: svdrp.h 1.14 2002/02/24 10:48:21 kls Exp $
*/
#ifndef __SVDRP_H
@@ -26,11 +26,25 @@ public:
int Accept(void);
};
+class cPUTEhandler {
+private:
+ FILE *f;
+ int status;
+ const char *message;
+public:
+ cPUTEhandler(void);
+ ~cPUTEhandler();
+ bool Process(const char *s);
+ int Status(void) { return status; }
+ const char *Message(void) { return message; }
+ };
+
class cSVDRP {
private:
cSocket socket;
cFile file;
cRecordings Recordings;
+ cPUTEhandler *PUTEhandler;
uint numChars;
char cmdLine[MAXPARSEBUFFER];
char *message;
@@ -57,6 +71,7 @@ private:
void CmdNEWC(const char *Option);
void CmdNEWT(const char *Option);
void CmdNEXT(const char *Option);
+ void CmdPUTE(const char *Option);
void CmdUPDT(const char *Option);
void Execute(char *Cmd);
public: