aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/protocol.h
diff options
context:
space:
mode:
authorLarry Hynes <larry@larryhynes.com>2016-06-09 20:09:17 +0100
committerLarry Hynes <larry@larryhynes.com>2016-06-09 20:09:17 +0100
commit6ec2e81512e068e798da20e4ab486ade81d3b9dc (patch)
treec84faf049dea2e52bc8da120d25f242fa9c0c397 /src/libserver/protocol.h
parent25083072e809ac328b8c4b4c98cdf6c9e35c112e (diff)
parentfb326efc2b3fa1c25705d218987199a608b87b87 (diff)
downloadrspamd-6ec2e81512e068e798da20e4ab486ade81d3b9dc.tar.gz
rspamd-6ec2e81512e068e798da20e4ab486ade81d3b9dc.zip
Merge remote-tracking branch 'upstream/master' into documentation
* upstream/master: (90 commits) [Fix] Plug memory leak in proxy [Feature] Do not print garbadge in --compact output [Fix] Fix encrypted proxy requests [Fix] Do not delete uninitialized events [Feature] Add protection against open files limit and accepting sockets [Fix] Another fix for redis timeouts [Fix] Fix order of initialization [Feature] Use file lock in logger to avoid deadlocks [Fix] Fix errors handling in the proxy [Fix] More fixes for redis refcounts [Fix] Initialize parser scripts properly [Fix] Try to fix issue in redis stats backend when task is closed [Fix] Fix usage of rdns reply structure [Fix] Fix symbol name for spf soft fail [Fix] Fix setting path for lua [Doc] Update regexp module documentation [Minor] Fix names [Fix] Add missing types [Feature] Implement braced regexp quantifiers [Fix] Implement new automata to skip empty lines for dkim signing ...
Diffstat (limited to 'src/libserver/protocol.h')
-rw-r--r--src/libserver/protocol.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libserver/protocol.h b/src/libserver/protocol.h
index 3c8383565..1f7acbab2 100644
--- a/src/libserver/protocol.h
+++ b/src/libserver/protocol.h
@@ -82,5 +82,13 @@ 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 (const ucl_object_t *top,
+ rspamd_fstring_t **out);
#endif