webradio/webradio.c File Reference


Detailed Description

Internet radio main file.

 *
 * $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 Documentation

#define MY_MAC   { 0x00, 0x06, 0x98, 0x30, 0x00, 0x39 }

Definition at line 106 of file webradio.c.

Referenced by InitEthernetDevice().

#define MY_IPADDR   "192.168.192.39"

Definition at line 113 of file webradio.c.

Referenced by InitEthernetDevice().

#define MY_IPMASK   "255.255.255.0"

Definition at line 120 of file webradio.c.

Referenced by InitEthernetDevice().

#define MY_IPGATE   "192.168.192.1"

Definition at line 127 of file webradio.c.

Referenced by InitEthernetDevice().

#define USE_DISCOVERY

Definition at line 133 of file webradio.c.

#define MY_TZ   -1

Definition at line 147 of file webradio.c.

Referenced by QueryTimeServer().


Function Documentation

static int QueryTimeServer ( void   )  [static]

Definition at line 156 of file webradio.c.

References LOG_STARTUP, LogMsg(), and MY_TZ.

Referenced by main().

Here is the call graph for this function:

LogMsg

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().

Here is the call graph for this function:

LogMsg

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().

Here is the call graph for this function:

ConfigInitConfigLoadConfigResetFactoryConfigSaveFavListCopyFavListLoadFavListResetFactoryFavListSaveFavListSetHttpServerStartInitEthernetDeviceLogMsgNutLoadConfigQueryTimeServerReceiverCreateReceiverStartReceiverStatusReceiverStopStationConnectStationDisconnectUserIfInitUserIfShowStatusXmlServerStartConfigLoadBinaryConfigRewind


Variable Documentation

WEBRADIO webradio

Definition at line 151 of file webradio.c.

Referenced by CgiFavoritesControl(), CgiSettings(), CgiShoutCastControl(), CgiVars(), ConfigLoad(), ConfigResetFactory(), ConfigSave(), UserIfInit(), UserIfShowStatus(), UserIfThread(), XmlProcessCommands(), and XmlProcessReports().


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