]> git.sesse.net Git - vlc/blobdiff - include/vlc_strings.h
vlc_objects.h: add LIBVLC_MALLOC and LIBVLC_USED
[vlc] / include / vlc_strings.h
index 04a787914a1d1071911e12c1b94aedeee3951395..c04801b9e3604f0844abb7db5fffb1a0026c923d 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_STRINGS_H
+#define VLC_STRINGS_H 1
 
-#ifndef _VLC_STRINGS_H
-#define _VLC_STRINGS_H 1
+/**
+ * \file
+ * This file defines functions and structures handling misc strings
+ */
 
 /**
  * \defgroup strings Strings
@@ -49,7 +50,7 @@ VLC_EXPORT( char *, __str_format_meta, ( vlc_object_t *, const char * ) );
 #define str_format( a, b ) __str_format( VLC_OBJECT( a ), b )
 VLC_EXPORT( char *, __str_format, ( vlc_object_t *, const char * ) );
 
-VLC_EXPORT( void, filename_sanitize, ( char * ) );
+VLC_EXPORT( char *, filename_sanitize, ( const char * ) ) LIBVLC_USED;
 VLC_EXPORT( void, path_sanitize, ( char * ) );
 
 /**