Mercurial > hg > xmms-sid
comparison src/xs_length.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 extern "C" { | 8 extern "C" { |
9 #endif | 9 #endif |
10 | 10 |
11 /* Types | 11 /* Types |
12 */ | 12 */ |
13 typedef struct _t_xs_sldb_node { | 13 typedef struct _sldb_node_t { |
14 t_xs_md5hash md5Hash; /* 128-bit MD5 hash-digest */ | 14 xs_md5hash_t md5Hash; /* 128-bit MD5 hash-digest */ |
15 gint nLengths; /* Number of lengths */ | 15 gint nlengths; /* Number of lengths */ |
16 gint *sLengths; /* Lengths in seconds */ | 16 gint *lengths; /* Lengths in seconds */ |
17 struct _t_xs_sldb_node *pPrev, *pNext; | 17 struct _sldb_node_t *prev, *next; |
18 } t_xs_sldb_node; | 18 } sldb_node_t; |
19 | 19 |
20 | 20 |
21 typedef struct { | 21 typedef struct { |
22 t_xs_sldb_node *pNodes, | 22 sldb_node_t *nodes, |
23 **ppIndex; | 23 **pindex; |
24 size_t n; | 24 size_t n; |
25 } t_xs_sldb; | 25 } xs_sldb_t; |
26 | 26 |
27 | 27 |
28 /* Functions | 28 /* Functions |
29 */ | 29 */ |
30 gint xs_sldb_read(t_xs_sldb *, const gchar *); | 30 gint xs_sldb_read(xs_sldb_t *, const gchar *); |
31 gint xs_sldb_index(t_xs_sldb *); | 31 gint xs_sldb_index(xs_sldb_t *); |
32 void xs_sldb_free(t_xs_sldb *); | 32 void xs_sldb_free(xs_sldb_t *); |
33 t_xs_sldb_node * xs_sldb_get(t_xs_sldb *, const gchar *); | 33 sldb_node_t * xs_sldb_get(xs_sldb_t *, const gchar *); |
34 | 34 |
35 #ifdef __cplusplus | 35 #ifdef __cplusplus |
36 } | 36 } |
37 #endif | 37 #endif |
38 #endif /* XS_LENGTH_H */ | 38 #endif /* XS_LENGTH_H */ |