aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/upstream.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-22 14:11:13 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-22 14:11:13 +0000
commit33dc0d893cb996406a220501a220c1a859c4d1c8 (patch)
treeaa0510d5d5b1766eae31e38ea3360b6507b5094a /src/libutil/upstream.h
parent92e8dbcfc937f8a62d85714e27e23aa9eeaae1f3 (diff)
downloadrspamd-33dc0d893cb996406a220501a220c1a859c4d1c8.tar.gz
rspamd-33dc0d893cb996406a220501a220c1a859c4d1c8.zip
Add rspamd_upstream_reresolve routine.
Diffstat (limited to 'src/libutil/upstream.h')
-rw-r--r--src/libutil/upstream.h5
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