Mercurial > audlegacy-plugins
view src/sid/xs_length.h @ 2585:43bac1471075
add ui_skinned_button
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Tue, 20 May 2008 19:50:03 +0200 |
parents | 1223e8510d8a |
children | f4dce14ed238 |
line wrap: on
line source
#ifndef XS_LENGTH_H #define XS_LENGTH_H #include "xmms-sid.h" #include "xs_md5.h" #ifdef __cplusplus extern "C" { #endif /* Types */ typedef struct _sldb_node_t { xs_md5hash_t md5Hash; /* 128-bit MD5 hash-digest */ gint nlengths; /* Number of lengths */ gint *lengths; /* Lengths in seconds */ struct _sldb_node_t *prev, *next; } sldb_node_t; typedef struct { sldb_node_t *nodes, **pindex; size_t n; } xs_sldb_t; /* Functions */ gint xs_sldb_read(xs_sldb_t *, const gchar *); gint xs_sldb_index(xs_sldb_t *); void xs_sldb_free(xs_sldb_t *); sldb_node_t * xs_sldb_get(xs_sldb_t *, const gchar *); #ifdef __cplusplus } #endif #endif /* XS_LENGTH_H */