aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/upstream.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-20 17:03:51 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-20 17:03:51 +0000
commit3d10a9ead7d1241035160ab3355577051186b0fd (patch)
tree7413ffa6f6ecf18422e95be046f06b9a40e4bc43 /src/libutil/upstream.h
parent64e6d18a31fd069a83baafe308a8c5d6ec3591e1 (diff)
downloadrspamd-3d10a9ead7d1241035160ab3355577051186b0fd.tar.gz
rspamd-3d10a9ead7d1241035160ab3355577051186b0fd.zip
Rework upstreams initialization
Diffstat (limited to 'src/libutil/upstream.h')
-rw-r--r--src/libutil/upstream.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libutil/upstream.h b/src/libutil/upstream.h
index 4e48a4289..a22a44589 100644
--- a/src/libutil/upstream.h
+++ b/src/libutil/upstream.h
@@ -25,15 +25,15 @@ struct upstream_ctx;
* Init upstreams library
* @param resolver
*/
-struct upstream_ctx* rspamd_upstreams_library_init (struct rdns_resolver *resolver,
- struct event_base *base);
+struct upstream_ctx* rspamd_upstreams_library_init (void);
/**
* Configure attributes of upstreams library
* @param cfg
*/
void rspamd_upstreams_library_config (struct rspamd_config *cfg,
- struct upstream_ctx *ctx);
+ struct upstream_ctx *ctx, struct event_base *ev_base,
+ struct rdns_resolver *resolver);
/**
* Upstream error logic