summaryrefslogtreecommitdiffstats
path: root/Settings.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2021-07-16 17:04:23 +0200
committerBenny Baumann <BenBE@geshi.org>2021-08-13 23:21:54 +0200
commit4b59a2e6b7997dcd35097cbdef9d80873a23f263 (patch)
treecfe4ed629f1cf7e0e90a882ff9fb153f14ca9355 /Settings.h
parentdd91e9a9dabf6e61bd550eac33688f78d9da8320 (diff)
Introduce versioned config files and config_reader_min_version
Diffstat (limited to 'Settings.h')
-rw-r--r--Settings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Settings.h b/Settings.h
index 97ef58a0..a512341b 100644
--- a/Settings.h
+++ b/Settings.h
@@ -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;

© 2014-2024 Faster IT GmbH | imprint | privacy policy