Mercurial > hg > xmms-sid
annotate src/xs_stil.h @ 473:f1a997715ef5
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 25 Jan 2007 07:21:05 +0000 |
parents | a1224c1f8670 |
children | 81756f412b43 |
rev | line source |
---|---|
392
b09d74eb71e6
Working on getting STIL and SLDB using completely dynamically allocated
Matti Hamalainen <ccr@tnsp.org>
parents:
330
diff
changeset
|
1 #ifndef _XS_STIL_H |
b09d74eb71e6
Working on getting STIL and SLDB using completely dynamically allocated
Matti Hamalainen <ccr@tnsp.org>
parents:
330
diff
changeset
|
2 #define _XS_STIL_H |
66 | 3 |
214 | 4 #include "xmms-sid.h" |
5 | |
66 | 6 #ifdef __cplusplus |
7 extern "C" { | |
8 #endif | |
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, |
473 | 16 *pTitle, |
117
453ac1293f6a
Fixed severe bug in xs_strmcat()
Matti Hamalainen <ccr@tnsp.org>
parents:
109
diff
changeset
|
17 *pInfo; |
66 | 18 } t_xs_stil_subnode; |
19 | |
392
b09d74eb71e6
Working on getting STIL and SLDB using completely dynamically allocated
Matti Hamalainen <ccr@tnsp.org>
parents:
330
diff
changeset
|
20 |
66 | 21 typedef struct _t_xs_stil_node { |
94
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
22 gchar *pcFilename; |
392
b09d74eb71e6
Working on getting STIL and SLDB using completely dynamically allocated
Matti Hamalainen <ccr@tnsp.org>
parents:
330
diff
changeset
|
23 gint nsubTunes; |
b09d74eb71e6
Working on getting STIL and SLDB using completely dynamically allocated
Matti Hamalainen <ccr@tnsp.org>
parents:
330
diff
changeset
|
24 t_xs_stil_subnode **subTunes; |
b09d74eb71e6
Working on getting STIL and SLDB using completely dynamically allocated
Matti Hamalainen <ccr@tnsp.org>
parents:
330
diff
changeset
|
25 |
94
086681f70910
Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
66
diff
changeset
|
26 struct _t_xs_stil_node *pPrev, *pNext; |
66 | 27 } t_xs_stil_node; |
28 | |
29 | |
227
92bad4c7b998
Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents:
214
diff
changeset
|
30 typedef struct { |
92bad4c7b998
Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents:
214
diff
changeset
|
31 t_xs_stil_node *pNodes, |
92bad4c7b998
Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents:
214
diff
changeset
|
32 **ppIndex; |
92bad4c7b998
Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents:
214
diff
changeset
|
33 gint n; |
92bad4c7b998
Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents:
214
diff
changeset
|
34 } t_xs_stildb; |
92bad4c7b998
Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents:
214
diff
changeset
|
35 |
92bad4c7b998
Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents:
214
diff
changeset
|
36 |
66 | 37 /* |
38 * Functions | |
39 */ | |
227
92bad4c7b998
Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents:
214
diff
changeset
|
40 gint xs_stildb_read(t_xs_stildb *, gchar *); |
92bad4c7b998
Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents:
214
diff
changeset
|
41 gint xs_stildb_index(t_xs_stildb *); |
92bad4c7b998
Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents:
214
diff
changeset
|
42 void xs_stildb_free(t_xs_stildb *); |
461
a1224c1f8670
STILdb handling glue moved to xmms-sid.c
Matti Hamalainen <ccr@tnsp.org>
parents:
392
diff
changeset
|
43 t_xs_stil_node * xs_stildb_get_node(t_xs_stildb *, gchar *); |
66 | 44 |
230 | 45 |
66 | 46 #ifdef __cplusplus |
47 } | |
48 #endif | |
392
b09d74eb71e6
Working on getting STIL and SLDB using completely dynamically allocated
Matti Hamalainen <ccr@tnsp.org>
parents:
330
diff
changeset
|
49 #endif /* _XS_STIL_H */ |