]> git.sesse.net Git - vlc/blobdiff - include/vlc_xml.h
Protect against multiple inclusions
[vlc] / include / vlc_xml.h
index b43ad9cf7bc842c86783cf6a498a437cf542cca4..20b097059adb5334912b2591fca3460161e75a58 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#if !defined( __LIBVLC__ )
-  #error You are not libvlc or one of its plugins. You cannot include this file
-#endif
+#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" {
@@ -68,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 )