summaryrefslogtreecommitdiff
path: root/svdrp.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2018-03-17 10:07:19 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2018-03-17 10:07:19 +0100
commit043929d85037306e5139daa91a1a638d7f444dcf (patch)
treeedd1e8cc1c16bf22f2a64dea15a6a2fdf32664ed /svdrp.h
parentaf3cb1c9c3285fef9dca1eba1ee1cab0d7d76011 (diff)
downloadvdr-043929d85037306e5139daa91a1a638d7f444dcf.tar.gz
vdr-043929d85037306e5139daa91a1a638d7f444dcf.tar.bz2
Fixed a possible race condition with CONN vs. LSTT
Diffstat (limited to 'svdrp.h')
-rw-r--r--svdrp.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/svdrp.h b/svdrp.h
index 167209c4..5330b9aa 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 4.10 2018/03/04 12:26:17 kls Exp $
+ * $Id: svdrp.h 4.11 2018/03/15 16:30:29 kls Exp $
*/
#ifndef __SVDRP_H
@@ -19,11 +19,6 @@ enum eSvdrpPeerModes {
spmOnly = 2,
};
-enum eSvdrpFetchFlags {
- sffNone = 0b0000,
- sffTimers = 0b0001,
- };
-
extern cStateKey StateKeySVDRPRemoteTimersPoll;
///< Controls whether a change to the local list of timers needs to result in
///< sending a POLL to the remote clients.
@@ -32,13 +27,10 @@ void SetSVDRPPorts(int TcpPort, int UdpPort);
void SetSVDRPGrabImageDir(const char *GrabImageDir);
void StartSVDRPHandler(void);
void StopSVDRPHandler(void);
-bool GetSVDRPServerNames(cStringList *ServerNames, eSvdrpFetchFlags FetchFlag = sffNone);
+bool GetSVDRPServerNames(cStringList *ServerNames);
///< Gets a list of all available VDRs this VDR is connected to via SVDRP,
///< and stores it in the given ServerNames list. The list is cleared
///< before getting the server names.
- ///< If FetchFlag is given, only the server names for which the local
- ///< client has this flag set will be returned, and the client's flag
- ///< will be cleared.
///< Returns true if the resulting list is not empty.
bool ExecSVDRPCommand(const char *ServerName, const char *Command, cStringList *Response = NULL);
///< Sends the given SVDRP Command string to the remote VDR identified