VLC 4.0.0-dev
|
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) |
|
static |
References asprintf(), config_GetHomeDir(), getenv(), and var.
char * config_GetLibDir | ( | void | ) |
Determines the architecture-dependent data directory.
Gets the arch-specific installation directory.
References strdup().
|
static |
References asprintf(), getenv(), getline(), and strdup().
Referenced by platform_GetUserDir().
char * platform_GetUserDir | ( | vlc_userdir_t | type | ) |
References config_GetAppDir(), config_GetHomeDir(), config_GetTypeDir(), VLC_CACHE_DIR, VLC_CONFIG_DIR, VLC_DESKTOP_DIR, VLC_DOCUMENTS_DIR, VLC_DOWNLOAD_DIR, VLC_HOME_DIR, VLC_MUSIC_DIR, VLC_PICTURES_DIR, VLC_PUBLICSHARE_DIR, VLC_SNAPSHOTS_DIR, VLC_TEMPLATES_DIR, VLC_USERDATA_DIR, and VLC_VIDEOS_DIR.