comparison src/xs_stil.h @ 526:fa95d942f226

Header cleanup; Moved some types from xmms-sid.h to xs_player.h; Renamed few functions.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 20 Feb 2007 16:53:05 +0000
parents 81756f412b43
children acaba070cf49
comparison
equal deleted inserted replaced
525:9395961504c1 526:fa95d942f226
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" {
8 #endif 8 #endif
9 9
10 /* 10 /* Types
11 * Defines and typedefs
12 */ 11 */
13 typedef struct { 12 typedef struct {
14 gchar *pName, 13 gchar *pName,
15 *pAuthor, 14 *pAuthor,
16 *pTitle, 15 *pTitle,
32 **ppIndex; 31 **ppIndex;
33 size_t n; 32 size_t n;
34 } t_xs_stildb; 33 } t_xs_stildb;
35 34
36 35
37 /* 36 /* Functions
38 * Functions
39 */ 37 */
40 gint xs_stildb_read(t_xs_stildb *, gchar *); 38 gint xs_stildb_read(t_xs_stildb *, gchar *);
41 gint xs_stildb_index(t_xs_stildb *); 39 gint xs_stildb_index(t_xs_stildb *);
42 void xs_stildb_free(t_xs_stildb *); 40 void xs_stildb_free(t_xs_stildb *);
43 t_xs_stil_node * xs_stildb_get_node(t_xs_stildb *, gchar *); 41 t_xs_stil_node * xs_stildb_get_node(t_xs_stildb *, gchar *);
44 42
45
46 #ifdef __cplusplus 43 #ifdef __cplusplus
47 } 44 }
48 #endif 45 #endif
49 #endif /* _XS_STIL_H */ 46 #endif /* XS_STIL_H */