view src/xs_stil.h @ 109:578b71b62eeb

Fileinfo now basically working, STIL COMMENT-fields are not yet parsed or shown. Some bugs probably remain.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 12 Jan 2004 01:45:04 +0000
parents 086681f70910
children 453ac1293f6a
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,
		*pAuthor,
		*pComment;
} 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;


/*
 * 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 */