Mercurial > hg > xmms-sid
annotate src/xs_stil.h @ 94:086681f70910
Start of re-write of STIL-support
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 10 Jan 2004 22:53:00 +0000 |
parents | debb9584f638 |
children | 578b71b62eeb |
rev | line source |
---|---|
66 | 1 #ifndef XS_STIL_H |
2 #define XS_STIL_H | |
3 | |
4 #ifdef __cplusplus | |
5 extern "C" { | |
6 #endif | |
7 | |
8 #include "xmms-sid.h" | |
9 | |
10 /* | |
11 * Defines and typedefs | |
12 */ | |
13 typedef struct { | |
94
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
14 gchar *pName, |
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
15 *pTitle, |
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
16 *pArtist, |
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
17 *pComment; |
66 | 18 } t_xs_stil_subnode; |
19 | |
20 typedef struct _t_xs_stil_node { | |
94
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
21 gchar *pcFilename; |
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
22 gint nsubTunes; |
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
23 t_xs_stil_subnode subTune[XS_STIL_MAXENTRY]; |
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
24 struct _t_xs_stil_node *pPrev, *pNext; |
66 | 25 } t_xs_stil_node; |
26 | |
27 | |
28 /* | |
29 * Functions | |
30 */ | |
31 gint xs_stil_init(void); /* Initialize STIL subsystem */ | |
32 void xs_stil_close(void); /* Close/shutdown */ | |
94
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
33 t_xs_stil_node* xs_stil_get(gchar *); /* Get STIL information */ |
66 | 34 |
35 | |
36 #ifdef __cplusplus | |
37 } | |
38 #endif | |
39 #endif /* XS_STIL_H */ |