diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-22 14:11:13 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-22 14:11:13 +0000 |
commit | 33dc0d893cb996406a220501a220c1a859c4d1c8 (patch) | |
tree | aa0510d5d5b1766eae31e38ea3360b6507b5094a /src/libutil/upstream.h | |
parent | 92e8dbcfc937f8a62d85714e27e23aa9eeaae1f3 (diff) | |
download | rspamd-33dc0d893cb996406a220501a220c1a859c4d1c8.tar.gz rspamd-33dc0d893cb996406a220501a220c1a859c4d1c8.zip |
Add rspamd_upstream_reresolve routine.
Diffstat (limited to 'src/libutil/upstream.h')
-rw-r--r-- | src/libutil/upstream.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libutil/upstream.h b/src/libutil/upstream.h index 4694900bb..16561a6ac 100644 --- a/src/libutil/upstream.h +++ b/src/libutil/upstream.h @@ -150,6 +150,11 @@ struct upstream* rspamd_upstream_get (struct upstream_list *ups, enum rspamd_upstream_rotation default_type, const guchar *key, gsize keylen); +/** + * Re-resolve addresses for all upstreams registered + */ +void rspamd_upstream_reresolve (struct upstream_ctx *ctx); + #endif /* UPSTREAM_H */ /* * vi:ts=4 |