diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-28 13:29:13 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-28 13:29:13 +0000 |
commit | d95807104076189411987dcc733a23a94b8812a5 (patch) | |
tree | 0a752e15aacb77a7ca0e66b93be8cd2f01b03a3d /src/libutil/upstream.h | |
parent | 397dfabb70a3e1169e7bee1b35a4f003f0fa8f81 (diff) | |
download | rspamd-d95807104076189411987dcc733a23a94b8812a5.tar.gz rspamd-d95807104076189411987dcc733a23a94b8812a5.zip |
Start new upstreams implementation.
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 |