comparison src/xs_stil.h @ 660:b0743dc9165d

Change tabs to 4 spaces, everywhere.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 02 Apr 2008 22:10:05 +0300
parents acaba070cf49
children 4bf845090a25
comparison
equal deleted inserted replaced
659:04ea91a61225 660:b0743dc9165d
8 #endif 8 #endif
9 9
10 /* Types 10 /* Types
11 */ 11 */
12 typedef struct { 12 typedef struct {
13 gchar *name, 13 gchar *name,
14 *author, 14 *author,
15 *title, 15 *title,
16 *info; 16 *info;
17 } stil_subnode_t; 17 } stil_subnode_t;
18 18
19 19
20 typedef struct _stil_node_t { 20 typedef struct _stil_node_t {
21 gchar *filename; 21 gchar *filename;
22 gint nsubTunes; 22 gint nsubTunes;
23 stil_subnode_t **subTunes; 23 stil_subnode_t **subTunes;
24 struct _stil_node_t *prev, *next; 24 struct _stil_node_t *prev, *next;
25 } stil_node_t; 25 } stil_node_t;
26 26
27 27
28 typedef struct { 28 typedef struct {
29 stil_node_t *nodes, 29 stil_node_t *nodes,
30 **pindex; 30 **pindex;
31 size_t n; 31 size_t n;
32 } xs_stildb_t; 32 } xs_stildb_t;
33 33
34 34
35 /* Functions 35 /* Functions
36 */ 36 */
37 gint xs_stildb_read(xs_stildb_t *, gchar *); 37 gint xs_stildb_read(xs_stildb_t *, gchar *);
38 gint xs_stildb_index(xs_stildb_t *); 38 gint xs_stildb_index(xs_stildb_t *);
39 void xs_stildb_free(xs_stildb_t *); 39 void xs_stildb_free(xs_stildb_t *);
40 stil_node_t * xs_stildb_get_node(xs_stildb_t *, gchar *); 40 stil_node_t * xs_stildb_get_node(xs_stildb_t *, gchar *);
41 41
42 #ifdef __cplusplus 42 #ifdef __cplusplus
43 } 43 }
44 #endif 44 #endif
45 #endif /* XS_STIL_H */ 45 #endif /* XS_STIL_H */