summaryrefslogtreecommitdiff
path: root/include/configreader.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configreader.h')
-rw-r--r--include/configreader.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configreader.h b/include/configreader.h
index d7789b9ed..3120d3d59 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -49,7 +49,8 @@ enum ConfigDataType
DT_IPADDRESS = 6, /* IP address (v4, v6) */
DT_CHANNEL = 7, /* Channel name */
DT_ALLOW_WILD = 64, /* Allow wildcards/CIDR in DT_IPADDRESS */
- DT_ALLOW_NEWLINE = 128 /* New line characters allowed in DT_CHARPTR */
+ DT_ALLOW_NEWLINE = 128, /* New line characters allowed in DT_CHARPTR */
+ DT_BOOTONLY = 256 /* Can only be set on startup, not on rehash */
};
/** Holds a config value, either string, integer or boolean.
@@ -172,7 +173,7 @@ struct InitialConfig
/** Value containers */
ValueContainerBase* val;
/** Data types */
- ConfigDataType datatype;
+ int datatype;
/** Validation function */
Validator validation_function;
};