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

Macros

#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_GetKnownFolder (KNOWNFOLDERID id)
 
static char * config_GetAppDir (void)
 
char * config_GetUserDir (vlc_userdir_t type)
 

Macro Definition Documentation

◆ UNICODE

#define UNICODE

Function Documentation

◆ config_GetAppDir()

static char * config_GetAppDir ( void  )
static

References asprintf(), and config_GetKnownFolder().

Referenced by config_GetUserDir().

◆ config_GetDataDir()

static char * config_GetDataDir ( void  )
static

References config_GetLibDir(), getenv(), and strdup().

Referenced by config_GetSysPath().

◆ config_GetKnownFolder()

static char * config_GetKnownFolder ( KNOWNFOLDERID  id)
static

References HRESULT().

Referenced by config_GetAppDir(), and config_GetUserDir().

◆ 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(), and config_getLibraryDirReal().

Referenced by config_GetSysPath().