webradio/shoutcast.h File Reference


Detailed Description

Stream I/O Routines.

 *
 * $Log$
 *
 * 

Definition in file shoutcast.h.

Go to the source code of this file.

Data Structures

struct  SHOUTCASTINFO

Functions

char * ShoutCastGetGenre (int idx)
char * ShoutCastGetStationName (char *genre, int idx)
int ShoutCastAddStation (int idx, int pos)
 Query streams of a specified station and create a favorites list entry.

Variables

RECEIVERPLUGIN rpiShoutcast
 Receiver plug-in reference structure.


Function Documentation

char* ShoutCastGetGenre ( int  idx  ) 

Definition at line 275 of file shoutcast.c.

References genre_tree, and ShoutCastGetGenreList().

Here is the call graph for this function:

ShoutCastGetGenreListHttpSchemeParseHttpSchemeReleaseOpenTcpStreamSendHttpRequestLogMsgTcpHostConnect

char* ShoutCastGetStationName ( char *  genre,
int  idx 
)

Definition at line 298 of file shoutcast.c.

References ShoutCastGetStationList(), station_cnt, station_genre, and station_list.

Here is the call graph for this function:

ShoutCastGetStationListHttpSchemeParseHttpSchemeReleaseLogMsgOpenTcpStreamSendHttpRequeststation_cmpTcpHostConnect

int ShoutCastAddStation ( int  idx,
int  pos 
)

Query streams of a specified station and create a favorites list entry.

Parameters:
idx SHOUTcast station list index.
pos Favorites list index.
Returns:
0 on success, -1 otherwise.

Definition at line 317 of file shoutcast.c.

References FavListSet(), HttpSchemeParse(), HttpSchemeRelease(), LOG_SHOUTCAST, LogMsg(), OpenTcpStream(), HTTP_SCHEME::schm_host, HTTP_SCHEME::schm_portnum, SendHttpRequest(), SHOUTCAST_QTUNE, station_cnt, and station_list.

Here is the call graph for this function:

FavListSetHttpSchemeParseHttpSchemeReleaseLogMsgOpenTcpStreamSendHttpRequestTcpHostConnect


Variable Documentation

RECEIVERPLUGIN rpiShoutcast

Receiver plug-in reference structure.

Used by the application to create a SHOUTcast receiver instance.

Definition at line 796 of file shoutcast.c.


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