diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-17 16:48:28 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-17 16:48:28 +0100 |
commit | 7dbf705472279107be200b6ce6388bb5c02bb087 (patch) | |
tree | cf9b088dc5614466bd3a1afe040f512e94671ad0 /src/libserver/protocol.h | |
parent | 4c252ed720d21dec1ac6cd088e50d65f8d8014fd (diff) | |
download | rspamd-7dbf705472279107be200b6ce6388bb5c02bb087.tar.gz rspamd-7dbf705472279107be200b6ce6388bb5c02bb087.zip |
Split task -> ucl result transition.
Diffstat (limited to 'src/libserver/protocol.h')
-rw-r--r-- | src/libserver/protocol.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libserver/protocol.h b/src/libserver/protocol.h index c3a73abec..c1a44bb5a 100644 --- a/src/libserver/protocol.h +++ b/src/libserver/protocol.h @@ -56,6 +56,15 @@ void rspamd_protocol_http_reply (struct rspamd_http_message *msg, struct rspamd_task *task); /** + * Write reply to ucl object filling log buffer + * @param task + * @param logbuf + * @return + */ +ucl_object_t * rspamd_protocol_write_ucl (struct rspamd_task *task, + GString *logbuf); + +/** * Write reply for specified task command * @param task task object * @return 0 if we wrote reply and -1 if there was some error |