Mercurial > hg > xmms-sid
view src/xs_stil.h @ 227:92bad4c7b998
Improved modularization of STIL and song-length database subsystems.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 19 Dec 2004 16:53:05 +0000 |
parents | 575686094eb1 |
children | 608f31f6c095 |
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; t_xs_stil_subnode subTune[XS_STIL_MAXENTRY]; 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(t_xs_stildb *, gchar *, gchar *); #ifdef __cplusplus } #endif #endif /* XS_STIL_H */