* * $Log$ * *
Definition in file webradio.c.
Go to the source code of this file.
Defines | |
#define | MY_MAC { 0x00, 0x06, 0x98, 0x30, 0x00, 0x39 } |
#define | MY_IPADDR "192.168.192.39" |
#define | MY_IPMASK "255.255.255.0" |
#define | MY_IPGATE "192.168.192.1" |
#define | USE_DISCOVERY |
#define | MY_TZ -1 |
Functions | |
static int | QueryTimeServer (void) |
int | InitEthernetDevice (void) |
int | main (void) |
Main application routine. | |
Variables | |
WEBRADIO | webradio |
#define MY_MAC { 0x00, 0x06, 0x98, 0x30, 0x00, 0x39 } |
#define MY_IPADDR "192.168.192.39" |
#define MY_IPMASK "255.255.255.0" |
#define MY_IPGATE "192.168.192.1" |
#define USE_DISCOVERY |
Definition at line 133 of file webradio.c.
#define MY_TZ -1 |
static int QueryTimeServer | ( | void | ) | [static] |
Definition at line 156 of file webradio.c.
References LOG_STARTUP, LogMsg(), and MY_TZ.
Referenced by main().
int InitEthernetDevice | ( | void | ) |
Definition at line 185 of file webradio.c.
References LOG_STARTUP, LogMsg(), MY_IPADDR, MY_IPGATE, MY_IPMASK, and MY_MAC.
Referenced by main().
int main | ( | void | ) |
Main application routine.
Definition at line 227 of file webradio.c.
References ConfigInit(), ConfigLoad(), ConfigResetFactory(), ConfigSave(), confnet, confos, DIST_CONNECTED, DIST_CONNECTING, DIST_DEAD, DIST_FORCE, DIST_NONE, favlist, FavListCopy(), FavListLoad(), FavListResetFactory(), FavListSave(), FavListSet(), h_timevalid, HttpServerStart(), InitEthernetDevice(), LAST_FAVORITE, LOG_ERROR, LOG_STARTUP, LOG_STATION, LOG_WARN, LogMsg(), NutLoadConfig(), QueryTimeServer(), ReceiverCreate(), ReceiverStart(), ReceiverStatus(), ReceiverStop(), rpiShoutcast, RSTAT_IDLE, RSTAT_STOP, StationConnect(), StationDisconnect(), TOP_FAVORITE, UserIfInit(), UserIfShowStatus(), VERSION, WEBRADIO::wr_favupd, WEBRADIO::wr_pridns, WEBRADIO::wr_reboot, WEBRADIO::wr_rip, WEBRADIO::wr_ritab, WEBRADIO::wr_secdns, WEBRADIO::wr_sip, and XmlServerStart().
Definition at line 151 of file webradio.c.
Referenced by CgiFavoritesControl(), CgiSettings(), CgiShoutCastControl(), CgiVars(), ConfigLoad(), ConfigResetFactory(), ConfigSave(), UserIfInit(), UserIfShowStatus(), UserIfThread(), XmlProcessCommands(), and XmlProcessReports().