Mercurial > hg > xmms-sid
annotate src/xs_length.h @ 214:575686094eb1
Portability fixes
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 15 Dec 2004 11:02:02 +0000 |
parents | 94497283affa |
children | 92bad4c7b998 |
rev | line source |
---|---|
4 | 1 #ifndef XS_LENGTH_H |
2 #define XS_LENGTH_H | |
3 | |
214 | 4 #include "xmms-sid.h" |
5 #include "xs_md5.h" | |
6 | |
4 | 7 #ifdef __cplusplus |
8 extern "C" { | |
9 #endif | |
10 | |
11 /* | |
12 * Defines and typedefs | |
13 */ | |
62
0d1df20745dd
Started to rewrite STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
39
diff
changeset
|
14 typedef struct _t_xs_sldb_node { |
14
f5d82424b0ed
Made song-length database support FINALLY work!
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
15 t_xs_md5hash md5Hash; /* 128-bit MD5 hash-digest */ |
f5d82424b0ed
Made song-length database support FINALLY work!
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
16 gint nLengths; /* Number of lengths */ |
f5d82424b0ed
Made song-length database support FINALLY work!
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
17 gint32 sLengths[XS_STIL_MAXENTRY]; |
f5d82424b0ed
Made song-length database support FINALLY work!
Matti Hamalainen <ccr@tnsp.org>
parents:
4
diff
changeset
|
18 /* Lengths in seconds */ |
4 | 19 |
87
94497283affa
Various fixes and improvements
Matti Hamalainen <ccr@tnsp.org>
parents:
62
diff
changeset
|
20 struct _t_xs_sldb_node *pPrev, *pNext; |
62
0d1df20745dd
Started to rewrite STIL-support
Matti Hamalainen <ccr@tnsp.org>
parents:
39
diff
changeset
|
21 } t_xs_sldb_node; |
4 | 22 |
23 | |
24 /* | |
25 * Functions | |
26 */ | |
39 | 27 gint xs_songlen_init(void); /* Initialize songlength subsystem */ |
28 void xs_songlen_close(void); /* Close/shutdown */ | |
87
94497283affa
Various fixes and improvements
Matti Hamalainen <ccr@tnsp.org>
parents:
62
diff
changeset
|
29 t_xs_sldb_node *xs_songlen_get(gchar *); |
4 | 30 |
31 | |
32 #ifdef __cplusplus | |
33 } | |
34 #endif | |
35 #endif /* XS_LENGTH_H */ |