diff src/config/config-parser.h @ 10181:4dc080520769 HEAD

config: Added support for dynamically loaded settings.
author Timo Sirainen <tss@iki.fi>
date Mon, 26 Oct 2009 13:47:27 -0400
parents dcda7c495eb6
children c26002b81f57
line wrap: on
line diff
--- a/src/config/config-parser.h	Fri Oct 23 21:48:42 2009 -0400
+++ b/src/config/config-parser.h	Mon Oct 26 13:47:27 2009 -0400
@@ -1,6 +1,8 @@
 #ifndef CONFIG_PARSER_H
 #define CONFIG_PARSER_H
 
+#define CONFIG_MODULE_DIR MODULEDIR"/settings"
+
 struct config_module_parser {
 	const struct setting_parser_info *root;
 	struct setting_parser_context *parser;
@@ -14,4 +16,6 @@
 int config_parse_file(const char *path, bool expand_files,
 		      const char **error_r);
 
+void config_parse_load_modules(void);
+
 #endif