* * $Log$ * *
Definition in file xmlserv.c.
Go to the source code of this file.
Functions | |
| static int | StartReportServiceThread (void) |
| void | XmlRefresh (void) |
| static int | XmlProcessCommands (FILE *stream) |
| static int | XmlProcessReports (FILE *stream) |
| void | XmlCmdService (void *arg) |
| XML command service thread. | |
| void | XmlRepoService (void *arg) |
| XML report thread. | |
| int | XmlServerStart (void) |
| XML Server Start. | |
Variables | |
| static int | xmld_tc |
| static HANDLE | xml_infoq |
| static int StartReportServiceThread | ( | void | ) | [static] |
Definition at line 302 of file xmlserv.c.
References XMLD_SERVICE_STACK, xmld_tc, and XmlRepoService().
Referenced by XmlRepoService(), and XmlServerStart().

| void XmlRefresh | ( | void | ) |
Definition at line 81 of file xmlserv.c.
Referenced by UserIfShowStatus(), UserIfThread(), and XmlProcessCommands().
| static int XmlProcessCommands | ( | FILE * | stream | ) | [static] |
Definition at line 89 of file xmlserv.c.
References LOG_ERROR, LOG_XMLCD, LogMsg(), RECEIVERINFO::ri_decoder, webradio, WEBRADIO::wr_cfgupd, WEBRADIO::wr_gain, WEBRADIO::wr_rip, and XmlRefresh().
Referenced by XmlCmdService().

| static int XmlProcessReports | ( | FILE * | stream | ) | [static] |
Definition at line 148 of file xmlserv.c.
References UserIfGetDisplayText(), webradio, and WEBRADIO::wr_gain.
Referenced by XmlRepoService().

| XmlCmdService | ( | void * | arg | ) |
XML command service thread.
This thread processes XML command request.
Definition at line 167 of file xmlserv.c.
References LOG_ERROR, LOG_HTTPD, LOG_XMLCD, LogMsg(), TcpStreamAccept(), XMLD_CMD_TCP_PORT, XMLD_MAX_SEGSIZE, XMLD_TCP_BUFSIZE, XMLD_TCP_TIMEOUT, and XmlProcessCommands().
Referenced by XmlServerStart().

| XmlRepoService | ( | void * | arg | ) |
XML report thread.
This thread sends XML reports to a connected client.
Definition at line 223 of file xmlserv.c.
References LOG_WARN, LOG_XMLRD, LogMsg(), StartReportServiceThread(), TcpStreamAccept(), xml_infoq, XMLD_MAX_SEGSIZE, XMLD_MIN_THREADS, XMLD_REPO_TCP_PORT, xmld_tc, XMLD_TCP_BUFSIZE, XMLD_TCP_TIMEOUT, and XmlProcessReports().
Referenced by StartReportServiceThread().

| int XmlServerStart | ( | void | ) |
int xmld_tc [static] |
Definition at line 74 of file xmlserv.c.
Referenced by StartReportServiceThread(), XmlRepoService(), and XmlServerStart().
HANDLE xml_infoq [static] |