summaryrefslogtreecommitdiff
path: root/src/config_snapshot.c
Commit message (Collapse)AuthorAgeFilesLines
* tree-wide: add missing header includesPatrick Steinhardt2020-06-091-1/+2
| | | | | | | We're missing some header includes leading to missing function prototypes. While we currently don't warn about these, we should have their respective headers included in order to detect the case where a function signature change results in an incompatibility.
* config_snapshot: rename function namesPatrick Steinhardt2019-11-051-22/+22
| | | | | | | | The configuration snapshot backend has been extracted from the old files backend back in 2bff84ba4 (config_file: separate out read-only backend, 2019-07-26). To keep code churn manageable, the local functions weren't renamed yet and thus still have references to the old diskfile backend. Rename them accordingly to make them easier to understand.
* Fix crash if snapshotting a config_snapshotSven Strickroth2019-11-011-0/+1
| | | | Signed-off-by: Sven Strickroth <email@cs-ware.de>
* config_backend: rename internal structuresPatrick Steinhardt2019-07-261-7/+7
| | | | | | The internal backend structures are kind-of legacy and do not really speak for themselves. Rename them accordingly to make them easier to understand.
* config_file: separate out read-only backendPatrick Steinhardt2019-07-261-0/+205
To further distinguish the file writeable and readonly backends, separate the readonly backend into its own "config_snapshot.c" implementation. The snapshot backend can be generically used to snapshot any type of backend.