Mercurial > hg > xmms-sid
annotate src/xs_stil.h @ 117:453ac1293f6a
Fixed severe bug in xs_strmcat()
Finalized the STIL-parser, should now work if not for any unfound bug(s).
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 14 Jan 2004 01:55:04 +0000 |
parents | 578b71b62eeb |
children | 575686094eb1 |
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, |
109
578b71b62eeb
Fileinfo now basically working, STIL COMMENT-fields are not yet parsed or shown.
Matti Hamalainen <ccr@tnsp.org>
parents:
94
diff
changeset
|
15 *pAuthor, |
117
453ac1293f6a
Fixed severe bug in xs_strmcat()
Matti Hamalainen <ccr@tnsp.org>
parents:
109
diff
changeset
|
16 *pInfo; |
66 | 17 } t_xs_stil_subnode; |
18 | |
19 typedef struct _t_xs_stil_node { | |
94
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
20 gchar *pcFilename; |
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
21 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
|
22 struct _t_xs_stil_node *pPrev, *pNext; |
66 | 23 } t_xs_stil_node; |
24 | |
25 | |
26 /* | |
27 * Functions | |
28 */ | |
29 gint xs_stil_init(void); /* Initialize STIL subsystem */ | |
30 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
|
31 t_xs_stil_node* xs_stil_get(gchar *); /* Get STIL information */ |
66 | 32 |
33 | |
34 #ifdef __cplusplus | |
35 } | |
36 #endif | |
37 #endif /* XS_STIL_H */ |