webradio/xmlserv.h File Reference


Detailed Description

MP3 Player XML Service.

 *
 * $Log$
 *
 * 

Definition in file xmlserv.h.

Go to the source code of this file.

Defines

#define USE_DATE_AND_TIME
#define XMLD_MIN_THREADS   4
#define XMLD_SERVICE_STACK   NUT_THREAD_MAINSTACK
#define XMLD_REPO_TCP_PORT   2008
#define XMLD_CMD_TCP_PORT   2009
#define XMLD_MAX_SEGSIZE   1460
#define XMLD_TCP_BUFSIZE   8760
#define XMLD_TCP_TIMEOUT   5000

Functions

int XmlServerStart (void)
 XML Server Start.
void XmlRefresh (void)

Variables

int h_timevalid


Define Documentation

#define USE_DATE_AND_TIME

Definition at line 53 of file xmlserv.h.

#define XMLD_MIN_THREADS   4

Definition at line 57 of file xmlserv.h.

Referenced by XmlRepoService(), and XmlServerStart().

#define XMLD_SERVICE_STACK   NUT_THREAD_MAINSTACK

Definition at line 67 of file xmlserv.h.

Referenced by StartReportServiceThread(), and XmlServerStart().

#define XMLD_REPO_TCP_PORT   2008

Definition at line 72 of file xmlserv.h.

Referenced by XmlRepoService().

#define XMLD_CMD_TCP_PORT   2009

Definition at line 77 of file xmlserv.h.

Referenced by XmlCmdService().

#define XMLD_MAX_SEGSIZE   1460

Definition at line 87 of file xmlserv.h.

Referenced by XmlCmdService(), and XmlRepoService().

#define XMLD_TCP_BUFSIZE   8760

Definition at line 92 of file xmlserv.h.

Referenced by XmlCmdService(), and XmlRepoService().

#define XMLD_TCP_TIMEOUT   5000

Definition at line 97 of file xmlserv.h.

Referenced by XmlCmdService(), and XmlRepoService().


Function Documentation

int XmlServerStart ( void   ) 

XML Server Start.

Starts a hard coded number of reporter threads and one command thread.

Returns:
0 on success, -1 otherwise.

Definition at line 325 of file xmlserv.c.

References LOG_ERROR, LOG_XMLCD, LOG_XMLRD, LogMsg(), StartReportServiceThread(), XmlCmdService(), XMLD_MIN_THREADS, XMLD_SERVICE_STACK, and xmld_tc.

Here is the call graph for this function:

LogMsgStartReportServiceThreadXmlCmdServiceXmlRepoServiceTcpStreamAcceptXmlProcessReportsUserIfGetDisplayTextXmlProcessCommandsXmlRefresh

void XmlRefresh ( void   ) 

Definition at line 81 of file xmlserv.c.

References xml_infoq.


Variable Documentation

int h_timevalid

Definition at line 107 of file httpserv.c.


© 2008 by egnite GmbH - visit www.ethernut.de