diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-10-31 18:37:41 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-10-31 18:37:41 +0300 |
commit | 98bd93ffddbb1f40884c5c12269948f230dbd0d0 (patch) | |
tree | e2e0595db3dfb373b27c9304b4e81452ba27de6c /src/cfg_utils.c | |
parent | dee3bdecf7b338ded8df307703e2ebf6be209e30 (diff) | |
download | rspamd-98bd93ffddbb1f40884c5c12269948f230dbd0d0.tar.gz rspamd-98bd93ffddbb1f40884c5c12269948f230dbd0d0.zip |
* Implement basic functionality of key value storage
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r-- | src/cfg_utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c index ffebd5c46..48e95cf59 100644 --- a/src/cfg_utils.c +++ b/src/cfg_utils.c @@ -32,6 +32,7 @@ #include "classifiers/classifiers.h" #include "cfg_xml.h" #include "lua/lua_common.h" +#include "kvstorage_config.h" #define DEFAULT_SCORE 10.0 @@ -960,6 +961,7 @@ read_xml_config (struct config_file *cfg, const gchar *filename) ud.if_stack = g_queue_new (); ctx = g_markup_parse_context_new (&xml_parser, G_MARKUP_TREAT_CDATA_AS_TEXT, &ud, NULL); + init_kvstorage_config (); res = g_markup_parse_context_parse (ctx, data, st.st_size, &err); if (g_queue_get_length (ud.if_stack) != 0) { |