Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
cb47bc07
Commit
cb47bc07
authored
May 05, 2008
by
Rémi Denis-Courmont
Browse files
config_GetConfigDir -> config_GetUserConfDir
parent
d6a7e489
Changes
5
Hide whitespace changes
Inline
Side-by-side
include/vlc_configuration.h
View file @
cb47bc07
...
...
@@ -215,7 +215,7 @@ 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_GetConf
ig
Dir
,
(
void
)
);
VLC_EXPORT
(
char
*
,
config_Get
User
ConfDir
,
(
void
)
);
VLC_EXPORT
(
char
*
,
config_GetUserDataDir
,
(
void
)
);
VLC_EXPORT
(
char
*
,
config_GetCacheDir
,
(
void
)
);
...
...
modules/misc/lua/vlc.c
View file @
cb47bc07
...
...
@@ -164,7 +164,7 @@ int vlclua_homedir( lua_State *L )
}
int
vlclua_configdir
(
lua_State
*
L
)
{
char
*
dir
=
config_GetConf
ig
Dir
();
char
*
dir
=
config_Get
User
ConfDir
();
lua_pushstring
(
L
,
dir
);
free
(
dir
);
return
1
;
...
...
src/config/core.c
View file @
cb47bc07
...
...
@@ -714,7 +714,7 @@ out:
/**
* Get the user's VLC configuration directory
*/
char
*
config_GetConf
ig
Dir
(
void
)
char
*
config_Get
User
ConfDir
(
void
)
{
return
config_GetFooDir
(
"CONFIG"
,
".config"
);
}
...
...
src/libvlc-common.c
View file @
cb47bc07
...
...
@@ -296,7 +296,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
/* Set the config file stuff */
p_libvlc
->
psz_homedir
=
config_GetHomeDir
();
priv
->
psz_configdir
=
config_GetConf
ig
Dir
();
priv
->
psz_configdir
=
config_Get
User
ConfDir
();
priv
->
psz_datadir
=
config_GetUserDataDir
();
priv
->
psz_cachedir
=
config_GetCacheDir
();
priv
->
psz_configfile
=
config_GetCustomConfigFile
(
p_libvlc
);
...
...
src/libvlc.sym
View file @
cb47bc07
...
...
@@ -51,12 +51,12 @@ __config_ChainParse
__config_ExistIntf
config_FindConfig
config_GetCacheDir
config_GetConfigDir
config_GetDataDir
__config_GetFloat
__config_GetInt
__config_GetPsz
__config_GetType
config_GetUserConfDir
config_GetUserDataDir
__config_PutFloat
__config_PutInt
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment