Expand description
Library-wide entry points: version query, one-shot initialisation, and the small set of path/config helpers cpdb-libs ships.
Functions§
- absolute_
path - Resolves
pathto an absolute path, expanding~and relative segments according to cpdb-libs’ rules. - concat_
path - Concatenates two path segments (cpdb-libs convention).
- concat_
sep - Concatenates two strings with a separator (cpdb-libs convention).
- init
- Initialises cpdb-libs.
- option_
group - Returns the standard IPP group name for
option_name, orNonewhen the option is not in cpdb-libs’ built-in mapping. - system_
config_ dir - Returns the system-scope configuration directory cpdb-libs uses for shared settings.
- user_
config_ dir - Returns the user-scope configuration directory cpdb-libs uses for persisted settings.
- version
- Returns the version of the linked cpdb-libs C library.