aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/protocol.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-02 17:27:51 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-02 17:27:51 +0100
commit906eff799f483b8240f7cd2a1fce78cfe3da5edc (patch)
treec44c95d137e8afabb1f86e1e593b316c0c69ac73 /src/libserver/protocol.h
parent1f55d8d46959b9661f5c4539cedd8a3ddfc2950a (diff)
downloadrspamd-906eff799f483b8240f7cd2a1fce78cfe3da5edc.tar.gz
rspamd-906eff799f483b8240f7cd2a1fce78cfe3da5edc.zip
[Feature] Initial support of self-scan in Rspamd proxy
Diffstat (limited to 'src/libserver/protocol.h')
-rw-r--r--src/libserver/protocol.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libserver/protocol.h b/src/libserver/protocol.h
index c0095fedc..3b7dabc73 100644
--- a/src/libserver/protocol.h
+++ b/src/libserver/protocol.h
@@ -66,7 +66,12 @@ gboolean rspamd_protocol_handle_request (struct rspamd_task *task,
* @param task
*/
void rspamd_protocol_http_reply (struct rspamd_http_message *msg,
- struct rspamd_task *task);
+ struct rspamd_task *task, ucl_object_t **pobj);
+/**
+ * Write data to log pipes
+ * @param task
+ */
+void rspamd_protocol_write_log_pipe (struct rspamd_task *task);
enum rspamd_protocol_flags {
RSPAMD_PROTOCOL_BASIC = 1 << 0,