[vlc-devel] commit: Export config_Get*Dir ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon May 5 22:40:12 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Mon May  5 23:09:04 2008 +0300| [f2ba521bb2c966aecce1ed890072c7ff6160e5d6]

Export config_Get*Dir

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f2ba521bb2c966aecce1ed890072c7ff6160e5d6
---

 include/vlc_configuration.h |    3 +++
 src/config/configuration.h  |    3 ---
 src/libvlc.sym              |    3 +++
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/include/vlc_configuration.h b/include/vlc_configuration.h
index fca42f6..0a28c69 100644
--- a/include/vlc_configuration.h
+++ b/include/vlc_configuration.h
@@ -215,6 +215,9 @@ VLC_EXPORT( void,   __config_ResetAll, ( vlc_object_t * ) );
 VLC_EXPORT( module_config_t *, config_FindConfig,( vlc_object_t *, const char * ) );
 
 VLC_EXPORT(const char *, config_GetDataDir, ( void ));
+VLC_EXPORT(char *, config_GetConfigDir, ( void ) );
+VLC_EXPORT(char *, config_GetUserDataDir, ( void ) );
+VLC_EXPORT(char *, config_GetCacheDir, ( void ) );
 
 VLC_EXPORT( void,       __config_AddIntf,    ( vlc_object_t *, const char * ) );
 VLC_EXPORT( void,       __config_RemoveIntf, ( vlc_object_t *, const char * ) );
diff --git a/src/config/configuration.h b/src/config/configuration.h
index 6bd34e5..69100b9 100644
--- a/src/config/configuration.h
+++ b/src/config/configuration.h
@@ -44,9 +44,6 @@ void config_UnsetCallbacks( module_config_t *, size_t );
 
 int __config_LoadCmdLine   ( vlc_object_t *, int *, const char *[], bool );
 char *config_GetHomeDir    ( void );
-char *config_GetConfigDir  ( void );
-char *config_GetUserDataDir( void );
-char *config_GetCacheDir   ( void );
 char *config_GetConfigFile ( libvlc_int_t * );
 char *config_GetCustomConfigFile( libvlc_int_t * );
 int __config_LoadConfigFile( vlc_object_t *, const char * );
diff --git a/src/libvlc.sym b/src/libvlc.sym
index d11256b..5208e63 100644
--- a/src/libvlc.sym
+++ b/src/libvlc.sym
@@ -50,11 +50,14 @@ config_ChainDestroy
 __config_ChainParse
 __config_ExistIntf
 config_FindConfig
+config_GetCacheDir
+config_GetConfigDir
 config_GetDataDir
 __config_GetFloat
 __config_GetInt
 __config_GetPsz
 __config_GetType
+config_GetUserDataDir
 __config_PutFloat
 __config_PutInt
 __config_PutPsz




More information about the vlc-devel mailing list