aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/surbl.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-21 13:39:39 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-21 13:39:39 +0100
commit5f25b69c03972b0adff6bc649e1922111d0ebb2b (patch)
tree62fb361ba8eab64f59a1874e5d045d404727ae4e /src/plugins/surbl.h
parentbc997b7b94a36103a3d409d0de422a71df0a19d6 (diff)
downloadrspamd-5f25b69c03972b0adff6bc649e1922111d0ebb2b.tar.gz
rspamd-5f25b69c03972b0adff6bc649e1922111d0ebb2b.zip
Refactor worker task structure and API.
Diffstat (limited to 'src/plugins/surbl.h')
-rw-r--r--src/plugins/surbl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/surbl.h b/src/plugins/surbl.h
index 80554b713..a9b0c194c 100644
--- a/src/plugins/surbl.h
+++ b/src/plugins/surbl.h
@@ -26,7 +26,7 @@ struct redirector_upstream {
};
struct surbl_ctx {
- gint (*filter)(struct worker_task *task);
+ gint (*filter)(struct rspamd_task *task);
guint16 weight;
guint connect_timeout;
guint read_timeout;
@@ -57,14 +57,14 @@ struct suffix_item {
struct dns_param {
struct uri *url;
- struct worker_task *task;
+ struct rspamd_task *task;
gchar *host_resolve;
struct suffix_item *suffix;
};
struct redirector_param {
struct uri *url;
- struct worker_task *task;
+ struct rspamd_task *task;
struct redirector_upstream *redirector;
enum {
STATE_CONNECT,
@@ -79,7 +79,7 @@ struct redirector_param {
struct memcached_param {
struct uri *url;
- struct worker_task *task;
+ struct rspamd_task *task;
memcached_ctx_t *ctx;
GTree *tree;
struct suffix_item *suffix;