Mercurial > hg > xmms-sid
annotate src/xs_stil.h @ 1008:fef02cb10652
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 02 May 2014 21:48:06 +0300 |
parents | 693594421516 |
children |
rev | line source |
---|---|
526
fa95d942f226
Header cleanup; Moved some types from xmms-sid.h to xs_player.h; Renamed few functions.
Matti Hamalainen <ccr@tnsp.org>
parents:
509
diff
changeset
|
1 #ifndef XS_STIL_H |
fa95d942f226
Header cleanup; Moved some types from xmms-sid.h to xs_player.h; Renamed few functions.
Matti Hamalainen <ccr@tnsp.org>
parents:
509
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 | |
526
fa95d942f226
Header cleanup; Moved some types from xmms-sid.h to xs_player.h; Renamed few functions.
Matti Hamalainen <ccr@tnsp.org>
parents:
509
diff
changeset
|
10 /* Types |
66 | 11 */ |
12 typedef struct { | |
684 | 13 gchar *name, |
14 *author, | |
15 *title, | |
16 *info; | |
751 | 17 } XSSTILSubNode; |
66 | 18 |
392
b09d74eb71e6
Working on getting STIL and SLDB using completely dynamically allocated
Matti Hamalainen <ccr@tnsp.org>
parents:
330
diff
changeset
|
19 |
751 | 20 typedef struct _XSSTILNode { |
759 | 21 gchar *filename; |
22 gint nsubTunes; | |
751 | 23 XSSTILSubNode **subTunes; |
24 struct _XSSTILNode *prev, *next; | |
25 } XSSTILNode; | |
66 | 26 |
27 | |
227
92bad4c7b998
Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents:
214
diff
changeset
|
28 typedef struct { |
759 | 29 XSSTILNode *nodes, |
684 | 30 **pindex; |
31 size_t n; | |
751 | 32 } XSSTILDB; |
227
92bad4c7b998
Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents:
214
diff
changeset
|
33 |
92bad4c7b998
Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents:
214
diff
changeset
|
34 |
526
fa95d942f226
Header cleanup; Moved some types from xmms-sid.h to xs_player.h; Renamed few functions.
Matti Hamalainen <ccr@tnsp.org>
parents:
509
diff
changeset
|
35 /* Functions |
66 | 36 */ |
751 | 37 gint xs_stildb_read(XSSTILDB *, gchar *); |
38 gint xs_stildb_index(XSSTILDB *); | |
39 void xs_stildb_free(XSSTILDB *); | |
759 | 40 XSSTILNode * xs_stildb_get_node(XSSTILDB *, gchar *); |
66 | 41 |
42 #ifdef __cplusplus | |
43 } | |
44 #endif | |
526
fa95d942f226
Header cleanup; Moved some types from xmms-sid.h to xs_player.h; Renamed few functions.
Matti Hamalainen <ccr@tnsp.org>
parents:
509
diff
changeset
|
45 #endif /* XS_STIL_H */ |