Mercurial > hg > xmms-sid
view src/xs_stil.h @ 461:a1224c1f8670
STILdb handling glue moved to xmms-sid.c
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 24 Jan 2007 23:28:01 +0000 |
parents | b09d74eb71e6 |
children | f1a997715ef5 |
line wrap: on
line source
#ifndef _XS_STIL_H #define _XS_STIL_H #include "xmms-sid.h" #ifdef __cplusplus extern "C" { #endif /* * Defines and typedefs */ typedef struct { gchar *pName, *pAuthor, *pInfo; } t_xs_stil_subnode; typedef struct _t_xs_stil_node { gchar *pcFilename; gint nsubTunes; t_xs_stil_subnode **subTunes; struct _t_xs_stil_node *pPrev, *pNext; } t_xs_stil_node; typedef struct { t_xs_stil_node *pNodes, **ppIndex; gint n; } t_xs_stildb; /* * Functions */ gint xs_stildb_read(t_xs_stildb *, gchar *); gint xs_stildb_index(t_xs_stildb *); void xs_stildb_free(t_xs_stildb *); t_xs_stil_node * xs_stildb_get_node(t_xs_stildb *, gchar *); #ifdef __cplusplus } #endif #endif /* _XS_STIL_H */