]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Declare function non-static
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 2 Jun 2016 14:21:18 +0000 (16:21 +0200)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 2 Jun 2016 14:21:18 +0000 (16:21 +0200)
src/libserver/protocol.c
src/libserver/protocol.h

index d314d3fdc2f134151f76e0a85581ca0a3d32c5f5..fa4f20e094742acbab0d9ba62ebd5cc77ccbc526 100644 (file)
@@ -873,7 +873,7 @@ rspamd_metric_result_ucl (struct rspamd_task *task,
        return obj;
 }
 
-static void
+void
 rspamd_ucl_torspamc_output (struct rspamd_task *task,
        ucl_object_t *top,
        rspamd_fstring_t **out)
index 3c83835659f8649fbf1ed3b7660ccc910ff70f26..186ed939adbda9beddca9b0b8db00b228382ac9c 100644 (file)
@@ -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