summaryrefslogtreecommitdiffstats
path: root/stream/stream_cddb.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_cddb.c')
-rw-r--r--stream/stream_cddb.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/stream/stream_cddb.c b/stream/stream_cddb.c
index 3ec0630897..24467f13d4 100644
--- a/stream/stream_cddb.c
+++ b/stream/stream_cddb.c
@@ -78,6 +78,24 @@
#define DEFAULT_FREEDB_SERVER "freedb.freedb.org"
#define DEFAULT_CACHE_DIR "/.cddb/"
+typedef struct {
+ char cddb_hello[1024];
+ unsigned long disc_id;
+ unsigned int tracks;
+ char *cache_dir;
+ char *freedb_server;
+ int freedb_proto_level;
+ int anonymous;
+ char category[100];
+ char *xmcd_file;
+ size_t xmcd_file_size;
+ void *user_data;
+} cddb_data_t;
+
+typedef struct {
+ unsigned int min, sec, frame;
+} cd_toc_t;
+
static cd_toc_t cdtoc[100];
static int cdtoc_last_track;