aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/surbl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/surbl.h')
-rw-r--r--src/plugins/surbl.h7
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 {