]> git.sesse.net Git - vlc/blobdiff - include/vlc_xml.h
use files.musepack.net instead of files2.musepack.net to download libmpcdec
[vlc] / include / vlc_xml.h
index 4b531112a2fb21ba05611c9bceccc02c9d174d51..2a2461aa87c97131a76d3d7deb52a3ab90652f74 100644 (file)
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * xml.h
+ * xml.h: XML abstraction layer
  *****************************************************************************
  * Copyright (C) 2004 the VideoLAN team
  * $Id$
  *
  * 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.
  *****************************************************************************/
 
+#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
 
@@ -64,7 +68,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 )