diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-07-13 20:54:13 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-07-13 20:54:13 +0400 |
commit | a8cdd33ac7ee59e195dca03a395c264877ee5168 (patch) | |
tree | 077413b678005aad4f66dbeae82a982cb71ce75f /src/plugins/surbl.h | |
parent | 74b38eb87d0ee6e401e06d8c604d55be2d93a1b2 (diff) | |
download | rspamd-a8cdd33ac7ee59e195dca03a395c264877ee5168.tar.gz rspamd-a8cdd33ac7ee59e195dca03a395c264877ee5168.zip |
* Rework the whole filters system
* Add metrics optimization and symbols cache
* Change all plugins
[DRAGONS]: not for production usage, some things are still not working!
Diffstat (limited to 'src/plugins/surbl.h')
-rw-r--r-- | src/plugins/surbl.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/surbl.h b/src/plugins/surbl.h index 8f674c9ca..cfe17b404 100644 --- a/src/plugins/surbl.h +++ b/src/plugins/surbl.h @@ -17,10 +17,7 @@ #define DEFAULT_SURBL_SUFFIX "multi.surbl.org" struct surbl_ctx { - int (*header_filter)(struct worker_task *task); - int (*mime_filter)(struct worker_task *task); - int (*message_filter)(struct worker_task *task); - int (*url_filter)(struct worker_task *task); + int (*filter)(struct worker_task *task); struct in_addr redirector_addr; uint16_t redirector_port; uint16_t weight; @@ -64,6 +61,7 @@ struct redirector_param { struct event ev; int sock; GTree *tree; + struct suffix_item *suffix; }; struct memcached_param { @@ -71,6 +69,7 @@ struct memcached_param { struct worker_task *task; memcached_ctx_t *ctx; GTree *tree; + struct suffix_item *suffix; }; struct surbl_bit_item { |