diff options
Diffstat (limited to 'src/libutil/upstream.h')
-rw-r--r-- | src/libutil/upstream.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libutil/upstream.h b/src/libutil/upstream.h index b2235866f..7adad8d22 100644 --- a/src/libutil/upstream.h +++ b/src/libutil/upstream.h @@ -20,7 +20,8 @@ struct upstream_list; * Init upstreams library * @param resolver */ -void rspamd_upstreams_library_init (struct rdns_resolver *resolver); +void rspamd_upstreams_library_init (struct rdns_resolver *resolver, + struct event_base *base); /** * Upstream error logic @@ -33,12 +34,12 @@ void rspamd_upstreams_library_init (struct rdns_resolver *resolver); /** * Add an error to an upstream */ -void upstream_fail (struct upstream *up); +void rspamd_upstream_fail (struct upstream *up); /** * Increase upstream successes count */ -void upstream_ok (struct upstream *up); +void rspamd_upstream_ok (struct upstream *up); /** * Create new list of upstreams |