aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/protocol.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-02 16:21:18 +0200
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-02 16:21:18 +0200
commitf0b0d219cbeb25cfd6381b21107f507524eae0c4 (patch)
tree4bc4d2dab3b5672dc289f1c7446e3d83e22357ba /src/libserver/protocol.h
parent6b0653316614412638de02476e76cdcf923d009a (diff)
downloadrspamd-f0b0d219cbeb25cfd6381b21107f507524eae0c4.tar.gz
rspamd-f0b0d219cbeb25cfd6381b21107f507524eae0c4.zip
[Minor] Declare function non-static
Diffstat (limited to 'src/libserver/protocol.h')
-rw-r--r--src/libserver/protocol.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libserver/protocol.h b/src/libserver/protocol.h
index 3c8383565..186ed939a 100644
--- a/src/libserver/protocol.h
+++ b/src/libserver/protocol.h
@@ -82,5 +82,14 @@ ucl_object_t * rspamd_protocol_write_ucl (struct rspamd_task *task);
*/
void rspamd_protocol_write_reply (struct rspamd_task *task);
+/**
+ * Convert rspamd output to legacy protocol reply
+ * @param task
+ * @param top
+ * @param out
+ */
+void rspamd_ucl_torspamc_output (struct rspamd_task *task,
+ ucl_object_t *top,
+ rspamd_fstring_t **out);
#endif