]> git.sesse.net Git - vlc/blobdiff - include/vlc_xml.h
Do not include vlc_modules.h in vlc_common.h
[vlc] / include / vlc_xml.h
index 2a2461aa87c97131a76d3d7deb52a3ab90652f74..51850c3bfb3e261d757e0c059f8811314c9e9040 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" {
@@ -48,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 * ) LIBVLC_USED );
+#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 )