comparison src/xs_length.h @ 684:4bf845090a25

Indentation cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 21 May 2008 02:24:53 +0300
parents b0743dc9165d
children 27fac414349d
comparison
equal deleted inserted replaced
683:3cc9b8e23d88 684:4bf845090a25
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 */