#include "thread.h"
#include "tools.h"
Go to the source code of this file.
◆ eSvdrpPeerModes
Enumerator |
---|
spmOff | |
spmAny | |
spmOnly | |
spmOff | |
spmAny | |
spmOnly | |
Definition at line 16 of file svdrp.h.
◆ BroadcastSVDRPCommand()
void BroadcastSVDRPCommand |
( |
const char * |
Command | ) |
|
Sends the given SVDRP Command string to all remote VDRs.
Definition at line 2875 of file svdrp.c.
◆ ExecSVDRPCommand()
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 the response strings in Response.
If no Response parameter is given, the response from command execution is ignored. Returns true if the data exchange was successful. Whether or not the actual SVDRP command was successful depends on the resulting strings from the remote VDR, which can be accessed through Response. If Response is given, it will be cleared before the command is actually executed.
Definition at line 2863 of file svdrp.c.
Referenced by BroadcastSVDRPCommand().
◆ GetSVDRPServerNames()
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. Returns true if the resulting list is not empty.
Definition at line 2851 of file svdrp.c.
◆ SetSVDRPGrabImageDir()
void SetSVDRPGrabImageDir |
( |
const char * |
GrabImageDir | ) |
|
◆ SetSVDRPPorts()
void SetSVDRPPorts |
( |
int |
TcpPort, |
|
|
int |
UdpPort |
|
) |
| |
◆ StartSVDRPHandler()
void StartSVDRPHandler |
( |
void |
| ) |
|
◆ StopSVDRPHandler()
void StopSVDRPHandler |
( |
void |
| ) |
|
◆ SVDRPCode()
int SVDRPCode |
( |
const char * |
s | ) |
|
|
inline |
Returns the value of the three digit reply code of the given SVDRP response string.
Definition at line 47 of file svdrp.h.
◆ SVDRPValue()
const char * SVDRPValue |
( |
const char * |
s | ) |
|
|
inline |
Returns the actual value of the given SVDRP response string, skipping the three digit reply code and possible continuation line indicator.
Definition at line 50 of file svdrp.h.
◆ StateKeySVDRPRemoteTimersPoll
Controls whether a change to the local list of timers needs to result in sending a POLL to the remote clients.