Mercurial > hg > xmms-sid
comparison src/xs_stil.h @ 392:b09d74eb71e6
Working on getting STIL and SLDB using completely dynamically allocated
structures. Indentation cleanups, etc.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 31 May 2006 10:02:00 +0000 |
parents | e0abd282d6b7 |
children | a1224c1f8670 |
comparison
equal
deleted
inserted
replaced
391:3cc7455360ad | 392:b09d74eb71e6 |
---|---|
1 #ifndef XS_STIL_H | 1 #ifndef _XS_STIL_H |
2 #define XS_STIL_H | 2 #define _XS_STIL_H |
3 | 3 |
4 #include "xmms-sid.h" | 4 #include "xmms-sid.h" |
5 | 5 |
6 #ifdef __cplusplus | 6 #ifdef __cplusplus |
7 extern "C" { | 7 extern "C" { |
14 gchar *pName, | 14 gchar *pName, |
15 *pAuthor, | 15 *pAuthor, |
16 *pInfo; | 16 *pInfo; |
17 } t_xs_stil_subnode; | 17 } t_xs_stil_subnode; |
18 | 18 |
19 | |
19 typedef struct _t_xs_stil_node { | 20 typedef struct _t_xs_stil_node { |
20 gchar *pcFilename; | 21 gchar *pcFilename; |
21 t_xs_stil_subnode subTunes[XS_STIL_MAXENTRY+1]; | 22 gint nsubTunes; |
23 t_xs_stil_subnode **subTunes; | |
24 | |
22 struct _t_xs_stil_node *pPrev, *pNext; | 25 struct _t_xs_stil_node *pPrev, *pNext; |
23 } t_xs_stil_node; | 26 } t_xs_stil_node; |
24 | 27 |
25 | 28 |
26 typedef struct { | 29 typedef struct { |
44 t_xs_stil_node * xs_stil_get(gchar *); | 47 t_xs_stil_node * xs_stil_get(gchar *); |
45 | 48 |
46 #ifdef __cplusplus | 49 #ifdef __cplusplus |
47 } | 50 } |
48 #endif | 51 #endif |
49 #endif /* XS_STIL_H */ | 52 #endif /* _XS_STIL_H */ |