1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-09-15 04:08:07 -04:00
ezstream/src/configfile.h
oddsock 35f54caeba Initial revision
git-svn-id: https://svn.xiph.org/trunk/ezstream@5800 0101bb08-14d6-0310-b084-bc0e0c8e3800
2004-01-30 17:19:45 +00:00

30 lines
522 B
C

#ifndef __EZSTREAM_CONFIG_H__
#define __EZSTREAM_CONFIG_H__
#include <libxml/parser.h>
#define MP3_FORMAT 1
#define OGGVORBIS_FORMAT 2
typedef struct tag_EZCONFIG {
char *URL;
char *password;
int format;
char *fileName;
char *serverName;
char *serverURL;
char *serverGenre;
char *serverDescription;
char *serverBitrate;
char *serverChannels;
char *serverSamplerate;
char *serverQuality;
int serverPublic;
} EZCONFIG;
void printConfig();
int parseConfig(char *fileName);
EZCONFIG *getEZConfig();
#endif