Mercurial > hg > xmms-sid
comparison src/xs_stil.h @ 657:acaba070cf49
Lots of cosmetic code cleanups; synced the de-gettextification from Audacious-SID, I suppose it makes some sense ...
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 02 Apr 2008 19:46:59 +0300 |
parents | fa95d942f226 |
children | b0743dc9165d |
comparison
equal
deleted
inserted
replaced
656:e9257f006f41 | 657:acaba070cf49 |
---|---|
8 #endif | 8 #endif |
9 | 9 |
10 /* Types | 10 /* Types |
11 */ | 11 */ |
12 typedef struct { | 12 typedef struct { |
13 gchar *pName, | 13 gchar *name, |
14 *pAuthor, | 14 *author, |
15 *pTitle, | 15 *title, |
16 *pInfo; | 16 *info; |
17 } t_xs_stil_subnode; | 17 } stil_subnode_t; |
18 | 18 |
19 | 19 |
20 typedef struct _t_xs_stil_node { | 20 typedef struct _stil_node_t { |
21 gchar *pcFilename; | 21 gchar *filename; |
22 gint nsubTunes; | 22 gint nsubTunes; |
23 t_xs_stil_subnode **subTunes; | 23 stil_subnode_t **subTunes; |
24 | 24 struct _stil_node_t *prev, *next; |
25 struct _t_xs_stil_node *pPrev, *pNext; | 25 } stil_node_t; |
26 } t_xs_stil_node; | |
27 | 26 |
28 | 27 |
29 typedef struct { | 28 typedef struct { |
30 t_xs_stil_node *pNodes, | 29 stil_node_t *nodes, |
31 **ppIndex; | 30 **pindex; |
32 size_t n; | 31 size_t n; |
33 } t_xs_stildb; | 32 } xs_stildb_t; |
34 | 33 |
35 | 34 |
36 /* Functions | 35 /* Functions |
37 */ | 36 */ |
38 gint xs_stildb_read(t_xs_stildb *, gchar *); | 37 gint xs_stildb_read(xs_stildb_t *, gchar *); |
39 gint xs_stildb_index(t_xs_stildb *); | 38 gint xs_stildb_index(xs_stildb_t *); |
40 void xs_stildb_free(t_xs_stildb *); | 39 void xs_stildb_free(xs_stildb_t *); |
41 t_xs_stil_node * xs_stildb_get_node(t_xs_stildb *, gchar *); | 40 stil_node_t * xs_stildb_get_node(xs_stildb_t *, gchar *); |
42 | 41 |
43 #ifdef __cplusplus | 42 #ifdef __cplusplus |
44 } | 43 } |
45 #endif | 44 #endif |
46 #endif /* XS_STIL_H */ | 45 #endif /* XS_STIL_H */ |