X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_xml.h;h=497fc7f9334d62a7f4f19983f6ca362a3665fa8e;hb=37a27cc6447a51b5780adf0917ab7b22a4456a5b;hp=4b531112a2fb21ba05611c9bceccc02c9d174d51;hpb=fe087a38282e93addb25fa9598393e40ea233b09;p=vlc diff --git a/include/vlc_xml.h b/include/vlc_xml.h index 4b531112a2..497fc7f933 100644 --- a/include/vlc_xml.h +++ b/include/vlc_xml.h @@ -1,5 +1,5 @@ /***************************************************************************** - * xml.h + * xml.h: XML abstraction layer ***************************************************************************** * Copyright (C) 2004 the VideoLAN team * $Id$ @@ -18,11 +18,17 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ -#ifndef _VLC_XML_H -#define _VLC_XML_H +#ifndef VLC_XML_H +#define VLC_XML_H + +/** + * \file + * This file defines functions and structures to handle xml tags in vlc + * + */ # ifdef __cplusplus extern "C" { @@ -44,8 +50,8 @@ struct xml_t const char * ); }; -#define xml_Create( a ) __xml_Create( VLC_OBJECT(a) ) -VLC_EXPORT( xml_t *, __xml_Create, ( vlc_object_t * ) ); +VLC_EXPORT( xml_t *, xml_Create, ( vlc_object_t * ) ); +#define xml_Create( a ) xml_Create( VLC_OBJECT(a) ) VLC_EXPORT( void, xml_Delete, ( xml_t * ) ); #define xml_ReaderCreate( a, b ) a->pf_reader_create( a, b ) @@ -64,7 +70,7 @@ struct 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 ); + int (*pf_use_dtd) ( xml_reader_t *, bool ); }; #define xml_ReaderRead( a ) a->pf_read( a )