diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-21 13:39:39 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-21 13:39:39 +0100 |
commit | 5f25b69c03972b0adff6bc649e1922111d0ebb2b (patch) | |
tree | 62fb361ba8eab64f59a1874e5d045d404727ae4e /src/plugins/surbl.h | |
parent | bc997b7b94a36103a3d409d0de422a71df0a19d6 (diff) | |
download | rspamd-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.h | 8 |
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; |