]> git.sesse.net Git - vlc/blobdiff - include/vlc_strings.h
Added BLOCK_TS_INVALID define to check against unset/invalid timestamp.
[vlc] / include / vlc_strings.h
index 3ab148ff0d1de69068b017c308f95c5fe299d515..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
 
-#include <vlc/vlc.h>
+/**
+ * \file
+ * This file defines functions and structures handling misc strings
+ */
 
 /**
  * \defgroup strings Strings
@@ -51,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 * ) );
 
 /**