]> git.sesse.net Git - vlc/commitdiff
Export FromLocaleDup()
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 12 Feb 2006 19:57:48 +0000 (19:57 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 12 Feb 2006 19:57:48 +0000 (19:57 +0000)
include/charset.h
include/vlc_symbols.h

index 357aae65776ca9b0cff321e3b31cec410238275e..7a098146f817207899235f28a79870893a831876 100644 (file)
@@ -31,12 +31,15 @@ extern "C" {
 VLC_EXPORT( vlc_bool_t, vlc_current_charset, ( char ** ) );
 VLC_EXPORT( void, LocaleFree, ( const char * ) );
 VLC_EXPORT( char *, FromLocale, ( const char * ) );
+VLC_EXPORT( char *, FromLocaleDup, ( const char * ) );
 VLC_EXPORT( char *, ToLocale, ( const char * ) );
+
 VLC_EXPORT( FILE *, utf8_fopen, ( const char *filename, const char *mode ) );
 VLC_EXPORT( void *, utf8_opendir, ( const char *dirname ) );
 VLC_EXPORT( const char *, utf8_readdir, ( void *dir ) );
 VLC_EXPORT( int, utf8_stat, ( const char *filename, void *buf ) );
 VLC_EXPORT( int, utf8_lstat, ( const char *filename, void *buf ) );
+
 VLC_EXPORT( char *, EnsureUTF8, ( char * ) );
 VLC_EXPORT( char *, FromUTF32, ( const wchar_t * ) );
 VLC_EXPORT( char *, __vlc_fix_readdir_charset, ( vlc_object_t *, const char * ) );
index 126f8c3086927b11cd0f48a6c59fd6859c073db3..f58045048aefc2bfb8451cc611d40fd2776faba0 100644 (file)
@@ -223,6 +223,7 @@ void __intf_UserProgressUpdate (vlc_object_t*, int, const char*, float);
 void __msg_Generic (vlc_object_t *, int, int, const char *, const char *, ... ) ATTRIBUTE_FORMAT( 5, 6);
 int vlc_closedir_wrapper (void *);
 int playlist_ServicesDiscoveryAdd (playlist_t *, const char *);
+char * FromLocaleDup (const char *);
 void __stats_ComputeGlobalStats (vlc_object_t*,global_stats_t*);
 char * vlc_strndup (const char *s, size_t n);
 void vout_PlacePicture (vout_thread_t *, unsigned int, unsigned int, unsigned int *, unsigned int *, unsigned int *, unsigned int *);
@@ -935,6 +936,7 @@ struct module_symbols_t
     const char * (*utf8_readdir_inner) (void *dir);
     int (*utf8_stat_inner) (const char *filename, void *buf);
     int (*utf8_lstat_inner) (const char *filename, void *buf);
+    char * (*FromLocaleDup_inner) (const char *);
 };
 #  if defined (__PLUGIN__)
 #  define aout_FiltersCreatePipeline (p_symbols)->aout_FiltersCreatePipeline_inner
@@ -1387,6 +1389,7 @@ struct module_symbols_t
 #  define utf8_readdir (p_symbols)->utf8_readdir_inner
 #  define utf8_stat (p_symbols)->utf8_stat_inner
 #  define utf8_lstat (p_symbols)->utf8_lstat_inner
+#  define FromLocaleDup (p_symbols)->FromLocaleDup_inner
 #  elif defined (HAVE_DYNAMIC_PLUGINS) && !defined (__BUILTIN__)
 /******************************************************************
  * STORE_SYMBOLS: store VLC APIs into p_symbols for plugin access.
@@ -1842,6 +1845,7 @@ struct module_symbols_t
     ((p_symbols)->utf8_readdir_inner) = utf8_readdir; \
     ((p_symbols)->utf8_stat_inner) = utf8_stat; \
     ((p_symbols)->utf8_lstat_inner) = utf8_lstat; \
+    ((p_symbols)->FromLocaleDup_inner) = FromLocaleDup; \
     (p_symbols)->net_ConvertIPv4_deprecated = NULL; \
     (p_symbols)->__stats_CounterGet_deprecated = NULL; \
     (p_symbols)->__stats_TimerDumpAll_deprecated = NULL; \