view src/xs_stil.h @ 94:086681f70910

Start of re-write of STIL-support
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 10 Jan 2004 22:53:00 +0000
parents debb9584f638
children 578b71b62eeb
line wrap: on
line source

#ifndef XS_STIL_H
#define XS_STIL_H

#ifdef __cplusplus
extern "C" {
#endif

#include "xmms-sid.h"

/*
 * Defines and typedefs
 */
typedef struct {
	gchar	*pName,
		*pTitle,
		*pArtist,
		*pComment;
} t_xs_stil_subnode;

typedef struct _t_xs_stil_node {
	gchar			*pcFilename;
	gint			nsubTunes;
	t_xs_stil_subnode	subTune[XS_STIL_MAXENTRY];
	struct _t_xs_stil_node	*pPrev, *pNext;
} t_xs_stil_node;


/*
 * Functions
 */
gint	xs_stil_init(void);		/* Initialize STIL subsystem */
void	xs_stil_close(void);		/* Close/shutdown */
t_xs_stil_node*	xs_stil_get(gchar *);	/* Get STIL information */


#ifdef __cplusplus
}
#endif
#endif /* XS_STIL_H */