Introduce versioned config files and config_reader_min_version

This commit is contained in:
Daniel Lange
2021-07-16 17:04:23 +02:00
committed by Benny Baumann
parent dd91e9a9da
commit 4b59a2e6b7
2 changed files with 14 additions and 1 deletions

View File

@ -18,6 +18,8 @@ in the source distribution for its full text.
#define DEFAULT_DELAY 15
#define CONFIG_READER_MIN_VERSION 2
typedef struct {
int len;
char** names;
@ -26,6 +28,7 @@ typedef struct {
typedef struct Settings_ {
char* filename;
int config_version;
MeterColumnSettings columns[2];
Hashtable* dynamicColumns;