VLC  4.0.0-dev
Macros | Functions
dirs.c File Reference
Include dependency graph for dirs.c:

Macros

#define COBJMACROS
 
#define INITGUID
 
#define UNICODE
 

Functions

char * config_GetLibDir (void)
 Gets the arch-specific installation directory. More...
 
static char * config_GetDataDir (void)
 
char * config_GetSysPath (vlc_sysdir_t type, const char *filename)
 Gets an installation directory. More...
 
static char * config_GetShellDir (int csidl)
 
static char * config_GetAppDir (void)
 
char * config_GetUserDir (vlc_userdir_t type)
 

Macro Definition Documentation

◆ COBJMACROS

#define COBJMACROS

◆ INITGUID

#define INITGUID

◆ UNICODE

#define UNICODE

Function Documentation

◆ config_GetAppDir()

static char* config_GetAppDir ( void  )
static

References asprintf(), and config_GetShellDir().

Referenced by config_GetUserDir().

◆ config_GetDataDir()

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

Referenced by config_GetSysPath().

◆ config_GetShellDir()

static char* config_GetShellDir ( int  csidl)
static