comparison src/xs_length.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
9 #endif 9 #endif
10 10
11 /* Types 11 /* Types
12 */ 12 */
13 typedef struct _sldb_node_t { 13 typedef struct _sldb_node_t {
14 xs_md5hash_t 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 *lengths; /* Lengths in seconds */ 16 gint *lengths; /* Lengths in seconds */
17 struct _sldb_node_t *prev, *next; 17 struct _sldb_node_t *prev, *next;
18 } sldb_node_t; 18 } sldb_node_t;
19 19
20 20
21 typedef struct { 21 typedef struct {
22 sldb_node_t *nodes, 22 sldb_node_t *nodes,
23 **pindex; 23 **pindex;
24 size_t n; 24 size_t n;
25 } xs_sldb_t; 25 } xs_sldb_t;
26 26
27 27
28 /* Functions 28 /* Functions
29 */ 29 */
30 gint xs_sldb_read(xs_sldb_t *, const gchar *); 30 gint xs_sldb_read(xs_sldb_t *, const gchar *);
31 gint xs_sldb_index(xs_sldb_t *); 31 gint xs_sldb_index(xs_sldb_t *);
32 void xs_sldb_free(xs_sldb_t *); 32 void xs_sldb_free(xs_sldb_t *);
33 sldb_node_t * xs_sldb_get(xs_sldb_t *, 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 */