X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_xml.h;h=4b531112a2fb21ba05611c9bceccc02c9d174d51;hb=4d6d9949cc44e1e87904dc897c6df0cda3badd26;hp=abcde2a5af0cf5c7a473830a60955ee9c8568abc;hpb=70f70fd0a78c63a4d9f030e4c897aea559f7c34b;p=vlc diff --git a/include/vlc_xml.h b/include/vlc_xml.h index abcde2a5af..4b531112a2 100644 --- a/include/vlc_xml.h +++ b/include/vlc_xml.h @@ -1,7 +1,7 @@ /***************************************************************************** * xml.h ***************************************************************************** - * Copyright (C) 2004 VideoLAN + * Copyright (C) 2004 the VideoLAN team * $Id$ * * Author: Gildas Bazin @@ -63,6 +63,8 @@ struct xml_reader_t char * (*pf_name) ( xml_reader_t * ); char * (*pf_value) ( xml_reader_t * ); int (*pf_next_attr) ( xml_reader_t * ); + + int (*pf_use_dtd) ( xml_reader_t *, vlc_bool_t ); }; #define xml_ReaderRead( a ) a->pf_read( a ) @@ -70,6 +72,7 @@ struct xml_reader_t #define xml_ReaderName( a ) a->pf_name( a ) #define xml_ReaderValue( a ) a->pf_value( a ) #define xml_ReaderNextAttr( a ) a->pf_next_attr( a ) +#define xml_ReaderUseDTD( a, b ) a->pf_use_dtd( a, b ) #define XML_READER_NONE 0 #define XML_READER_STARTELEM 1