28 #ifndef XDG_BASEDIR_FS_H 29 #define XDG_BASEDIR_FS_H 33 #include <sys/types.h> Handle to XDG data cache.
char * xdgDataFind(const char *relativePath, xdgHandle *handle)
Find all existing data files corresponding to relativePath.
FILE * xdgDataOpen(const char *relativePath, const char *mode, xdgHandle *handle)
Open first possible data file corresponding to relativePath.
Functions for using the XDG Base Directory specification.
int xdgMakePath(const char *path, mode_t mode)
Create path by recursively creating directories.
char * xdgConfigFind(const char *relativePath, xdgHandle *handle)
Find all existing config files corresponding to relativePath.
FILE * xdgConfigOpen(const char *relativePath, const char *mode, xdgHandle *handle)
Open first possible config file corresponding to relativePath.