aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-17 15:28:48 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-17 15:28:48 +0100
commitcb17589a11f00d0c9efc2aa77cee0e4a50e9ddde (patch)
treeec5d3ff5e4692b125f295cfead06e79374534478 /src/libserver/cfg_file.h
parent3cb21a049f62dff157a1f33e7bbd928d181b9ce0 (diff)
downloadrspamd-cb17589a11f00d0c9efc2aa77cee0e4a50e9ddde.tar.gz
rspamd-cb17589a11f00d0c9efc2aa77cee0e4a50e9ddde.zip
Move more initialization to the common routines.
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r--src/libserver/cfg_file.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h
index 25f19d216..e2543fea8 100644
--- a/src/libserver/cfg_file.h
+++ b/src/libserver/cfg_file.h
@@ -395,6 +395,13 @@ void rspamd_ucl_add_conf_variables (struct ucl_parser *parser);
*/
gboolean rspamd_init_filters (struct rspamd_config *cfg, bool reconfig);
+/**
+ * Init configuration file structure
+ * @param cfg
+ * @param init_lua
+ */
+void rspamd_init_cfg (struct rspamd_config *cfg, gboolean init_lua);
+
#endif /* ifdef CFG_FILE_H */
/*
* vi:ts=4