aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/upstream.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-20 17:09:32 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-20 17:09:32 +0000
commit6cb689f2182bf840a83ebb828c82123d38b84e79 (patch)
tree0bd36866439394426dd3647d0fc0ab4c1bd8882c /src/libutil/upstream.h
parent3d10a9ead7d1241035160ab3355577051186b0fd (diff)
downloadrspamd-6cb689f2182bf840a83ebb828c82123d38b84e79.tar.gz
rspamd-6cb689f2182bf840a83ebb828c82123d38b84e79.zip
Add deinitialization for upstreams
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 a22a44589..eab2be368 100644
--- a/src/libutil/upstream.h
+++ b/src/libutil/upstream.h
@@ -28,6 +28,11 @@ struct upstream_ctx;
struct upstream_ctx* rspamd_upstreams_library_init (void);
/**
+ * Remove reference from upstreams library
+ */
+void rspamd_upstreams_library_unref (struct upstream_ctx *ctx);
+
+/**
* Configure attributes of upstreams library
* @param cfg
*/