44 void (*pf_catalog_load) (
xml_t *,
const char * );
45 void (*pf_catalog_add) (
xml_t *,
const char *,
const char *,
50 #define xml_Create( a ) xml_Create( VLC_OBJECT(a) )
51 VLC_API
void xml_Delete(
xml_t * );
53 static inline void xml_CatalogLoad(
xml_t *xml,
const char *catalog )
55 xml->pf_catalog_load( xml, catalog );
58 static inline void xml_CatalogAdd(
xml_t *xml,
const char *type,
59 const char *orig,
const char *value )
61 xml->pf_catalog_add( xml, type, orig, value );
69 xml_reader_sys_t *p_sys;
74 const char *(*pf_next_attr) (
xml_reader_t *,
const char ** );
76 int (*pf_use_dtd) ( xml_reader_t * );
77 int (*pf_is_empty) ( xml_reader_t * );
81 #define xml_ReaderCreate( a, s ) xml_ReaderCreate(VLC_OBJECT(a), s)
85 static inline
int xml_ReaderNextNode(
xml_reader_t *reader, const
char **pval )
87 return reader->pf_next_node( reader, pval );
90 static inline const char *xml_ReaderNextAttr(
xml_reader_t *reader,
93 return reader->pf_next_attr( reader, pval );
96 static inline int xml_ReaderUseDTD(
xml_reader_t *reader )
98 return reader->pf_use_dtd( reader );
101 static inline int xml_ReaderIsEmptyElement(
xml_reader_t *reader )
103 if(reader->pf_is_empty == NULL)
106 return reader->pf_is_empty( reader );
111 XML_READER_STARTELEM,
Definition: vlc_stream.h:52
Definition: vlc_objects.h:42