diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-30 13:26:51 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-30 13:26:51 +0100 |
commit | d6643f35d783784911ad2e2ca754bcfed29eb11d (patch) | |
tree | 55554d57d4439e278788a261eb5ad7e5016a1372 /src/libserver/dynamic_cfg.h | |
parent | 7e66b3bd08dbca9356013a3777f786076d1dacea (diff) | |
download | rspamd-d6643f35d783784911ad2e2ca754bcfed29eb11d.tar.gz rspamd-d6643f35d783784911ad2e2ca754bcfed29eb11d.zip |
Refactor config API.
Diffstat (limited to 'src/libserver/dynamic_cfg.h')
-rw-r--r-- | src/libserver/dynamic_cfg.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libserver/dynamic_cfg.h b/src/libserver/dynamic_cfg.h index b65d7aa9a..a8cb02ae5 100644 --- a/src/libserver/dynamic_cfg.h +++ b/src/libserver/dynamic_cfg.h @@ -32,14 +32,14 @@ * Init dynamic configuration using map logic and specific configuration * @param cfg config file */ -void init_dynamic_config (struct config_file *cfg); +void init_dynamic_config (struct rspamd_config *cfg); /** * Dump dynamic configuration to the disk * @param cfg * @return */ -gboolean dump_dynamic_config (struct config_file *cfg); +gboolean dump_dynamic_config (struct rspamd_config *cfg); /** * Add symbol for specified metric @@ -49,7 +49,7 @@ gboolean dump_dynamic_config (struct config_file *cfg); * @param value value of symbol * @return */ -gboolean add_dynamic_symbol (struct config_file *cfg, const gchar *metric, const gchar *symbol, gdouble value); +gboolean add_dynamic_symbol (struct rspamd_config *cfg, const gchar *metric, const gchar *symbol, gdouble value); /** @@ -60,7 +60,7 @@ gboolean add_dynamic_symbol (struct config_file *cfg, const gchar *metric, const * @param value value of symbol * @return */ -gboolean add_dynamic_action (struct config_file *cfg, const gchar *metric, guint action, gdouble value); +gboolean add_dynamic_action (struct rspamd_config *cfg, const gchar *metric, guint action, gdouble value); #endif /* DYNAMIC_CFG_H_ */ |