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, 5 insertions, 0 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 5c8a66307..44551b132 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -37,6 +37,8 @@ typedef bool (*MultiNotify)(ServerConfig* conf, const char*);
enum ConfigDataType { DT_NOTHING, DT_INTEGER, DT_CHARPTR, DT_BOOLEAN };
+/** Holds a core configuration item and its callbacks
+ */
struct InitialConfig
{
char* tag;
@@ -46,6 +48,9 @@ struct InitialConfig
Validator validation_function;
};
+/** Holds a core configuration item and its callbacks
+ * where there may be more than one item
+ */
struct MultiConfig
{
const char* tag;