diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-30 16:20:00 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-30 16:20:00 +0100 |
commit | 7cdfdccdd8fb845d30d9e0d3dacff36de76e4114 (patch) | |
tree | ffa5b53f9fa40a1d7aa67cf137eb8111b27283db /src/libserver/protocol.h | |
parent | 9a682abae79a10b3d9ebba9e4c4a285888082073 (diff) | |
download | rspamd-7cdfdccdd8fb845d30d9e0d3dacff36de76e4114.tar.gz rspamd-7cdfdccdd8fb845d30d9e0d3dacff36de76e4114.zip |
Add control section parsing.
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 8fdd7e56f..c3a73abec 100644 --- a/src/libserver/protocol.h +++ b/src/libserver/protocol.h @@ -30,6 +30,15 @@ gboolean rspamd_protocol_handle_headers (struct rspamd_task *task, struct rspamd_http_message *msg); /** + * Process control chunk and update task structure accordingly + * @param task + * @param control + * @return + */ +gboolean rspamd_protocol_handle_control (struct rspamd_task *task, + const ucl_object_t *control); + +/** * Process HTTP request to the task structure * @param task * @param msg |