VLC  2.1.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
darwin_dirs.c File Reference
Include dependency graph for darwin_dirs.c:

Macros

#define MAXPATHLEN   1024

Functions

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)

Macro Definition Documentation

#define MAXPATHLEN   1024

Referenced by config_GetLibPath().

Function Documentation

char* config_GetDataDir ( void  )

Determines the shared data directory.

Returns
a nul-terminated string or NULL. Use free() to release it.

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 MAXPATHLEN, strdup(), and system_Init().

Referenced by config_GetLibDir().

char* config_GetUserDir ( vlc_userdir_t  type)
static char* getAppDependentDir ( vlc_userdir_t  type)
static