owntone-server/src/rxml.h

24 lines
550 B
C
Raw Normal View History

2005-05-17 00:25:38 -04:00
/*
* $Id$
*/
#ifndef _RXML_H_
#define _RXML_H_
#define RXML_EVT_OPEN 0x0
#define RXML_EVT_CLOSE 0x1
#define RXML_EVT_BEGIN 0x2
#define RXML_EVT_END 0x3
#define RXML_EVT_TEXT 0x4
typedef void* RXMLHANDLE;
typedef void(*RXML_EVTHANDLER)(int,void*,char*);
extern int rxml_open(RXMLHANDLE *handle, char *file,
2006-02-26 03:46:24 -05:00
RXML_EVTHANDLER handler, void* udata);
2005-05-17 00:25:38 -04:00
extern int rxml_close(RXMLHANDLE handle);
extern char *rxml_errorstring(RXMLHANDLE handle);
extern int rxml_parse(RXMLHANDLE handle);
#endif /* _ RXML_H_ */