aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf.h')
-rw-r--r--src/conf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/conf.h b/src/conf.h
index 42ac6f228..5e191815f 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -91,6 +91,13 @@ void config_global_finish(void);
void config_read_file(const char *file);
+/**
+ * Adds a new configuration parameter. The name must be registered
+ * with registerConfigParam().
+ */
+void
+config_add_param(const char *name, struct config_param *param);
+
/* don't free the returned value
set _last_ to NULL to get first entry */
struct config_param *