aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorcebka@cebka-laptop <cebka@cebka-laptop>2008-10-14 17:34:56 +0400
committercebka@cebka-laptop <cebka@cebka-laptop>2008-10-14 17:34:56 +0400
commitfee5af783ea49c1fd77e335bb9986fe58152af9a (patch)
tree6f3b5249b3815797d675a5910a61fc1bbc0b6843 /config.h.in
parent3f8572f20960a02b334d09c809513d5ab25012a5 (diff)
downloadrspamd-fee5af783ea49c1fd77e335bb9986fe58152af9a.tar.gz
rspamd-fee5af783ea49c1fd77e335bb9986fe58152af9a.zip
* Configure modules when worker starts for simplifying reconfig procedure
* Add two behaviour types of memory allocator: greedy and ungreedy * Adopt surbl module for new configure style
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 36d67d56e..48c7bc129 100644
--- a/config.h.in
+++ b/config.h.in
@@ -7,6 +7,8 @@ struct config_file;
typedef struct module_s {
const char *name;
int (*module_init_func)(struct config_file *cfg, struct module_ctx **ctx);
+ int (*module_config_func)(struct config_file *cfg);
+ int (*module_reconfig_func)(struct config_file *cfg);
} module_t;
extern module_t modules[];