libXDGdirs v1.1.1-2-g54a653b
An implementation of XDG Base Directory Specification
|
#include <stddef.h>
Go to the source code of this file.
Data Structures | |
struct | xdgDirsList_t |
Container for environment variables which are colon separated lists. More... | |
Macros | |
#define | XDGDIRS_VER "1.1.1" |
Version of libXDGdirs. | |
#define | XDGBDS_VER "0.8" |
Version of XDG Base Directory specification implemented in this library. | |
Typedefs | |
typedef const struct xdgDirsList_t | xdgDirsList |
Functions | |
int | xdgDirs_init (void) |
Explicitly read variables before first use. | |
void | xdgDirs_clear (void) |
Clear cached data. | |
void | xdgDirs_refresh (void) |
Read environment variables again. | |
const char * | xdgDataHome (void) |
Value of $XDG_DATA_HOME . | |
const char * | xdgStateHome (void) |
Value of $XDG_STATE_HOME . | |
const char * | xdgConfigHome (void) |
Value of $XDG_CONFIG_HOME . | |
const char * | xdgCacheHome (void) |
Value of $XDG_CACHE_HOME . | |
const char * | xdgRuntimeDir (void) |
Value of $XDG_RUNTIME_DIR . | |
xdgDirsList * | xdgDataDirs (void) |
Value of $XDG_DATA_DIRS . | |
xdgDirsList * | xdgConfigDirs (void) |
Value of $XDG_CONFIG_DIRS . | |
const char * | xdgCustomVar (const char *custom) |
User definied custom XDG variables. | |
#define XDGDIRS_VER "1.1.1" |
typedef const struct xdgDirsList_t xdgDirsList |