X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_configuration.h;fp=include%2Fvlc_configuration.h;h=e5df206260b961dca6ceadc36702a045fbd27ed8;hb=08d89300a6a09b812a406ecdf12c598fdf581d5d;hp=1c2c48fe1cdbeef1b3b5ad9687f58fcf9338d0dc;hpb=7fe6a6974bf47daf77d2f18757c7cdc646641bb0;p=vlc diff --git a/include/vlc_configuration.h b/include/vlc_configuration.h index 1c2c48fe1c..e5df206260 100644 --- a/include/vlc_configuration.h +++ b/include/vlc_configuration.h @@ -217,9 +217,14 @@ VLC_EXPORT( module_config_t *, config_FindConfig,( vlc_object_t *, const char * VLC_EXPORT(const char *, config_GetDataDir, ( void ) LIBVLC_USED); VLC_EXPORT(const char *, config_GetConfDir, ( void ) LIBVLC_USED); -VLC_EXPORT(const char *, config_GetHomeDir, ( void ) LIBVLC_USED); VLC_EXPORT(char *, config_GetUserConfDir, ( void ) LIBVLC_USED); VLC_EXPORT(char *, config_GetUserDataDir, ( void ) LIBVLC_USED); + +typedef enum vlc_userdir { + VLC_HOME_DIR, +} vlc_userdir_t; + +VLC_EXPORT(char *, config_GetUserDir, ( vlc_userdir_t ) LIBVLC_USED); VLC_EXPORT(char *, config_GetCacheDir, ( void ) LIBVLC_USED); VLC_EXPORT( void, __config_AddIntf, ( vlc_object_t *, const char * ) );