diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-02-18 14:18:13 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-02-18 14:18:13 +0100 |
commit | 3586013b8fa8006afdc9624a97e8f14fa111d753 (patch) | |
tree | beec284353d545cbb0e24995634bab99a9be19ba /svdrp.h | |
parent | c464c4f9b9043e2a852c646f644f7a5c4b0e69d7 (diff) | |
download | vdr-3586013b8fa8006afdc9624a97e8f14fa111d753.tar.gz vdr-3586013b8fa8006afdc9624a97e8f14fa111d753.tar.bz2 |
New SVDRP command MESG; SVDRP can reuse port; SVDRP timeout
Diffstat (limited to 'svdrp.h')
-rw-r--r-- | svdrp.h | 8 |
1 files changed, 6 insertions, 2 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.6 2000/09/17 13:22:04 kls Exp $ + * $Id: svdrp.h 1.7 2001/02/18 13:36:47 kls Exp $ */ #ifndef __SVDRP_H @@ -31,7 +31,9 @@ private: cSocket socket; cFile file; CRect ovlClipRects[MAXCLIPRECTS]; - void Close(void); + char *message; + time_t lastActivity; + void Close(bool Timeout = false); bool Send(const char *s, int length = -1); void Reply(int Code, const char *fmt, ...); void CmdCHAN(const char *Option); @@ -42,6 +44,7 @@ private: void CmdHITK(const char *Option); void CmdLSTC(const char *Option); void CmdLSTT(const char *Option); + void CmdMESG(const char *Option); void CmdMODC(const char *Option); void CmdMODT(const char *Option); void CmdMOVC(const char *Option); @@ -59,6 +62,7 @@ public: cSVDRP(int Port); ~cSVDRP(); void Process(void); + char *GetMessage(void); }; #endif //__SVDRP_H |