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

Functions

char * config_GetLibDir (void)
 Determines the architecture-dependent data directory.
 
char * config_GetSysPath (vlc_sysdir_t type, const char *filename)
 Gets an installation directory.
 
static char * config_GetHomeDir (void)
 
static char * config_GetAppDir (const char *xdg_name, const char *xdg_default)
 
static char * config_GetTypeDir (const char *xdg_name)
 
char * platform_GetUserDir (vlc_userdir_t type)
 

Function Documentation

◆ config_GetAppDir()

static char * config_GetAppDir ( const char *  xdg_name,
const char *  xdg_default 
)
static

◆ config_GetHomeDir()

static char * config_GetHomeDir ( void  )
static

References getenv(), and strdup().

◆ config_GetLibDir()

char * config_GetLibDir ( void  )

Determines the architecture-dependent data directory.

Gets the arch-specific installation directory.

Returns
a string (always succeeds).

References strdup().

◆ config_GetTypeDir()

static char * config_GetTypeDir ( const char *  xdg_name)
static

References asprintf(), getenv(), getline(), and strdup().

Referenced by platform_GetUserDir().

◆ platform_GetUserDir()