aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-12 13:37:24 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-12 13:37:24 +0100
commite2600fef6aac4e838871783e41ab934ab43e2e5b (patch)
tree536eef2e778306986de3124e1f22129165c2303c /src/libserver/task.h
parentd4d921a97e5a8548fb506ed8bc747d9a2bc37561 (diff)
downloadrspamd-e2600fef6aac4e838871783e41ab934ab43e2e5b.tar.gz
rspamd-e2600fef6aac4e838871783e41ab934ab43e2e5b.zip
[Feature] Allow to output group results
Issue: #2985
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r--src/libserver/task.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h
index 9086578d7..28e0dc070 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -128,7 +128,9 @@ enum rspamd_task_stage {
#define RSPAMD_TASK_PROTOCOL_FLAG_EXT_URLS (1u << 4u)
/* Client allows body block (including headers in no FLAG_MILTER) */
#define RSPAMD_TASK_PROTOCOL_FLAG_BODY_BLOCK (1u << 5u)
-#define RSPAMD_TASK_PROTOCOL_FLAG_MAX_SHIFT (5u)
+/* Emit groups information */
+#define RSPAMD_TASK_PROTOCOL_FLAG_GROUPS (1u << 6u)
+#define RSPAMD_TASK_PROTOCOL_FLAG_MAX_SHIFT (6u)
#define RSPAMD_TASK_IS_SKIPPED(task) (((task)->flags & RSPAMD_TASK_FLAG_SKIP))
#define RSPAMD_TASK_IS_SPAMC(task) (((task)->cmd == CMD_CHECK_SPAMC))