diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-05 16:24:44 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-05 16:24:44 +0100 |
commit | 5cb2fe96545d019d9a457f9be307eea165790b09 (patch) | |
tree | 09c7c97a00328adc25be5d87b6530eaff3f7def4 /src/libserver/protocol.h | |
parent | d00b49ff64146d8d06d62592aaa4f6c409584e9b (diff) | |
download | rspamd-5cb2fe96545d019d9a457f9be307eea165790b09.tar.gz rspamd-5cb2fe96545d019d9a457f9be307eea165790b09.zip |
[Feature] Extend log structure
Diffstat (limited to 'src/libserver/protocol.h')
-rw-r--r-- | src/libserver/protocol.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libserver/protocol.h b/src/libserver/protocol.h index 15705c19a..9ba1d67ca 100644 --- a/src/libserver/protocol.h +++ b/src/libserver/protocol.h @@ -18,9 +18,15 @@ #define RSPAMD_LENGTH_ERROR RSPAMD_BASE_ERROR + 4 #define RSPAMD_STATFILE_ERROR RSPAMD_BASE_ERROR + 5 +struct rspamd_protocol_log_symbol_result { + guint32 id; + gdouble score; +}; struct rspamd_protocol_log_message_sum { guint32 nresults; - guint32 results[]; + gdouble score; + gdouble required_score; + struct rspamd_protocol_log_symbol_result results[]; }; struct metric; |