|
CX Framework
Cross-platform C utility framework
|
Settings management with SSD trees. More...
Go to the source code of this file.
Data Structures | |
| struct | SetsBindSpec |
Macros | |
| #define | setsGetSub(sets, path) ssdSubtree(sets, path, SSD_Create_Hashtable) |
| #define | setsGet(sets, path, type, out, def) ssdCopyOutD(sets, path, type, out, def) |
| #define | setsSet(sets, path, type, val) ssdSet(sets, path, true, stvar(type, val)) |
| #define | setsRemove(sets, path) ssdRemove(sets, path) |
Typedefs | |
| typedef struct SetsBindSpec | SetsBindSpec |
Functions | |
| SSDNode * | setsOpen (VFS *vfs, strref path, int64 flush_interval) |
| bool | setsClose (SSDNode **psets) |
| bool | setsFlush (SSDNode *sets) |
| void | setsSetDirty (SSDNode *sets) |
| bool | setsBind (SSDNode *sets, SetsBindSpec *bindings, void *base) |
| void | setsUnbindAll (SSDNode *sets) |
| void | setsCheckBound (SSDNode *sets) |
| bool | setsImport (SSDNode *sets, SetsBindSpec *bindings, void *base) |
| bool | setsExport (SSDNode *sets, SetsBindSpec *bindings, void *base) |
Settings management with SSD trees.
The Settings module provides a specialized SSD tree backed by a JSON file in a VFS, with automatic disk persistence and optional variable binding.
Definition in file settings.h.