Macros | Functions
xdg.c File Reference

Implementation of XDG Base Directory Specification. More...

Go to the source code of this file.

Macros

#define MAIN_ERR_PREFIX   "XDG: "
 Message prefix for XDG module.
 

Functions

int xdg_append_to_path (const char **buf, const char *newcomp)
 Append path component to buffer. More...
 
const char * xdg_get_confdir (const char *progname)
 Get configuration directory. More...
 

Detailed Description

Implementation of XDG Base Directory Specification.

Copyright (c) 2020-2024 by the developers. See the LICENSE file for details.

This is used by different modules that should not depend on CORE module.

Definition in file xdg.c.


Generated at 2026-01-27 using  doxygen