annotate src/xs_stil.h @ 330:e0abd282d6b7

Changed struct member name subTune -> subTunes
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 22 Sep 2005 01:44:00 +0000
parents 608f31f6c095
children b09d74eb71e6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
66
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 #ifndef XS_STIL_H
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 #define XS_STIL_H
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3
214
575686094eb1 Portability fixes
Matti Hamalainen <ccr@tnsp.org>
parents: 117
diff changeset
4 #include "xmms-sid.h"
575686094eb1 Portability fixes
Matti Hamalainen <ccr@tnsp.org>
parents: 117
diff changeset
5
66
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6 #ifdef __cplusplus
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7 extern "C" {
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8 #endif
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10 /*
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11 * Defines and typedefs
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
12 */
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
13 typedef struct {
94
086681f70910 Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents: 66
diff changeset
14 gchar *pName,
109
578b71b62eeb Fileinfo now basically working, STIL COMMENT-fields are not yet parsed or shown.
Matti Hamalainen <ccr@tnsp.org>
parents: 94
diff changeset
15 *pAuthor,
117
453ac1293f6a Fixed severe bug in xs_strmcat()
Matti Hamalainen <ccr@tnsp.org>
parents: 109
diff changeset
16 *pInfo;
66
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17 } t_xs_stil_subnode;
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
18
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19 typedef struct _t_xs_stil_node {
94
086681f70910 Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents: 66
diff changeset
20 gchar *pcFilename;
330
e0abd282d6b7 Changed struct member name subTune -> subTunes
Matti Hamalainen <ccr@tnsp.org>
parents: 230
diff changeset
21 t_xs_stil_subnode subTunes[XS_STIL_MAXENTRY+1];
94
086681f70910 Start of re-write of STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents: 66
diff changeset
22 struct _t_xs_stil_node *pPrev, *pNext;
66
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23 } t_xs_stil_node;
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
24
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
25
227
92bad4c7b998 Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents: 214
diff changeset
26 typedef struct {
92bad4c7b998 Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents: 214
diff changeset
27 t_xs_stil_node *pNodes,
92bad4c7b998 Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents: 214
diff changeset
28 **ppIndex;
92bad4c7b998 Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents: 214
diff changeset
29 gint n;
92bad4c7b998 Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents: 214
diff changeset
30 } t_xs_stildb;
92bad4c7b998 Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents: 214
diff changeset
31
92bad4c7b998 Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents: 214
diff changeset
32
66
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
33 /*
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
34 * Functions
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
35 */
227
92bad4c7b998 Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents: 214
diff changeset
36 gint xs_stildb_read(t_xs_stildb *, gchar *);
92bad4c7b998 Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents: 214
diff changeset
37 gint xs_stildb_index(t_xs_stildb *);
92bad4c7b998 Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents: 214
diff changeset
38 void xs_stildb_free(t_xs_stildb *);
92bad4c7b998 Improved modularization of STIL and song-length database subsystems.
Matti Hamalainen <ccr@tnsp.org>
parents: 214
diff changeset
39 t_xs_stil_node * xs_stildb_get(t_xs_stildb *, gchar *, gchar *);
66
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
40
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
41
230
608f31f6c095 Raw cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 227
diff changeset
42 gint xs_stil_init(void);
608f31f6c095 Raw cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 227
diff changeset
43 void xs_stil_close(void);
608f31f6c095 Raw cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 227
diff changeset
44 t_xs_stil_node * xs_stil_get(gchar *);
608f31f6c095 Raw cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 227
diff changeset
45
66
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
46 #ifdef __cplusplus
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
47 }
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
48 #endif
debb9584f638 Re-added header
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
49 #endif /* XS_STIL_H */