Commit 1beb944f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

config: unexport config_Get(Data|Lib)Dir()

parent 477d18c7
......@@ -269,34 +269,6 @@ VLC_API void config_ResetAll(void);
*/
VLC_API module_config_t *config_FindConfig(const char *name) VLC_USED;
/**
* Gets the arch-independent installation directory.
*
* This function determines the directory containing the
* architecture-independent installed asset files (such as image, text and
* message translation tables).
*
* See also config_GetLibDir().
*
* @return a heap-allocated string (use free() to release it), or NULL on error
*/
VLC_API char *config_GetDataDir(void) VLC_USED VLC_MALLOC;
/**
* Gets the arch-specific installation directory.
*
* This function determines the directory containing the architecture-specific
* installed asset files (such as executable plugins and compiled byte code).
*
* See also config_GetDataDir().
*
* \note config_GetDataDir() and config_GetLibDir() may or may not return the
* same path, depending on conventions of the operating system.
*
* @return a heap-allocated string (use free() to release it), or NULL on error
*/
VLC_API char *config_GetLibDir(void) VLC_USED VLC_MALLOC;
/**
* System directory identifiers
*/
......
......@@ -55,6 +55,34 @@ extern bool config_dirty;
bool config_IsSafe (const char *);
/**
* Gets the arch-independent installation directory.
*
* This function determines the directory containing the
* architecture-independent installed asset files (such as image, text and
* message translation tables).
*
* See also config_GetLibDir().
*
* @return a heap-allocated string (use free() to release it), or NULL on error
*/
char *config_GetDataDir(void) VLC_USED VLC_MALLOC;
/**
* Gets the arch-specific installation directory.
*
* This function determines the directory containing the architecture-specific
* installed asset files (such as executable plugins and compiled byte code).
*
* See also config_GetDataDir().
*
* \note config_GetDataDir() and config_GetLibDir() may or may not return the
* same path, depending on conventions of the operating system.
*
* @return a heap-allocated string (use free() to release it), or NULL on error
*/
char *config_GetLibDir(void) VLC_USED VLC_MALLOC;
/* The configuration file */
#define CONFIG_FILE "vlcrc"
......
......@@ -51,8 +51,6 @@ config_ChainParse
config_ChainParseOptions
config_ExistIntf
config_FindConfig
config_GetDataDir
config_GetLibDir
config_GetFloat
config_GetSysPath
config_GetUserDir
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment