
Functions | |
| static void | init_dirs (void) |
| const char * | config_GetConfDir (void) |
| Determines the system configuration directory. | |
| static char * | config_GetLibPath (void) |
| char * | config_GetLibDir (void) |
| char * | config_GetDataDir (void) |
| Determines the shared data directory. | |
| static char * | config_GetHomeDir (void) |
| static char * | getAppDependentDir (vlc_userdir_t type) |
| char * | config_GetUserDir (vlc_userdir_t type) |
Variables | |
| static char * | configdir = NULL |
| static pthread_once_t | once = PTHREAD_ONCE_INIT |
| const char* config_GetConfDir | ( | void | ) |
Determines the system configuration directory.
References configdir, init_dirs(), and once.
| char* config_GetDataDir | ( | void | ) |
Determines the shared data directory.
References asprintf(), config_GetLibDir(), getenv(), and strdup().
| static char* config_GetHomeDir | ( | void | ) | [static] |
References getenv(), and strdup().
Referenced by config_GetUserDir(), and getAppDependentDir().
| char* config_GetLibDir | ( | void | ) |
References config_GetLibPath().
| static char* config_GetLibPath | ( | void | ) | [static] |
References strdup(), and system_Init().
Referenced by config_GetLibDir().
| char* config_GetUserDir | ( | vlc_userdir_t | type | ) |
| static char* getAppDependentDir | ( | vlc_userdir_t | type | ) | [static] |
References asprintf(), config_GetHomeDir(), name, VLC_CACHE_DIR, VLC_CONFIG_DIR, VLC_DATA_DIR, and VLC_TEMPLATES_DIR.
Referenced by config_GetUserDir().
| static void init_dirs | ( | void | ) | [static] |
References config_GetUserDir(), configdir, and VLC_CONFIG_DIR.
Referenced by config_GetConfDir().
char* configdir = NULL [static] |
Referenced by config_GetConfDir(), and init_dirs().
pthread_once_t once = PTHREAD_ONCE_INIT [static] |
Referenced by config_GetConfDir(), and vlc_CPU().
1.7.1