VLC 4.0.0-dev
Loading...
Searching...
No Matches
dirs-common.c File Reference
Include dependency graph for dirs-common.c:

Functions

char * config_GetLibDir (void)
 Gets the arch-specific installation directory.
static char * config_GetLibexecDir (void)
static char * config_GetDataDir (void)
char * config_GetSysPath (vlc_sysdir_t type, const char *filename)
 Gets an installation directory.

Function Documentation

◆ config_GetDataDir()

char * config_GetDataDir ( void )
static

References config_GetLibDir(), getenv(), and strdup().

Referenced by config_GetSysPath().

◆ config_GetLibDir()

char * config_GetLibDir ( void )

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).

Returns
a heap-allocated string (use free() to release it), or NULL on error

Gets the arch-specific installation directory.

Returns
a string (always succeeds).

References config_GetLibDir(), and config_getLibraryDirReal().

Referenced by config_GetDataDir(), config_GetLibDir(), config_GetLibDirRaw(), and config_GetSysPath().

◆ config_GetLibexecDir()

char * config_GetLibexecDir ( void )
static

Referenced by config_GetSysPath().