47 inline int SVDRPCode(
const char *s) {
return s ? atoi(s) : 0; }
50 inline const char *
SVDRPValue(
const char *s) {
return s && s[0] && s[1] && s[2] && s[3] ? s + 4 : NULL; }
void BroadcastSVDRPCommand(const char *Command)
Sends the given SVDRP Command string to all remote VDRs.
bool GetSVDRPServerNames(cStringList *ServerNames)
Gets a list of all available VDRs this VDR is connected to via SVDRP, and stores it in the given Serv...
bool ExecSVDRPCommand(const char *ServerName, const char *Command, cStringList *Response=NULL)
Sends the given SVDRP Command string to the remote VDR identified by ServerName and collects all of t...
cStateKey StateKeySVDRPRemoteTimersPoll
Controls whether a change to the local list of timers needs to result in sending a POLL to the remote...
const char * SVDRPValue(const char *s)
Returns the actual value of the given SVDRP response string, skipping the three digit reply code and ...
void StartSVDRPHandler(void)
void SetSVDRPGrabImageDir(const char *GrabImageDir)
void StopSVDRPHandler(void)
void SetSVDRPPorts(int TcpPort, int UdpPort)
int SVDRPCode(const char *s)
Returns the value of the three digit reply code of the given SVDRP response string.