aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-25 14:37:42 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-25 14:37:42 +0000
commit9836fe5686a3e439655753930d2e4fb7decd3309 (patch)
tree0d904cf1c3e0d40ddb839cb80503ec804f953ec8 /src/libserver/task.h
parentc06d8386eb902edb577df32b4f1e600dd9d65f7c (diff)
downloadrspamd-9836fe5686a3e439655753930d2e4fb7decd3309.tar.gz
rspamd-9836fe5686a3e439655753930d2e4fb7decd3309.zip
[Feature] Stat greylisted messages as greylisted not soft-rejected
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r--src/libserver/task.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h
index 97329ce3b..db86a9ac9 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -104,6 +104,7 @@ enum rspamd_task_stage {
#define RSPAMD_TASK_FLAG_LOCAL_CLIENT (1 << 23)
#define RSPAMD_TASK_FLAG_COMPRESSED (1 << 24)
#define RSPAMD_TASK_FLAG_PROFILE (1 << 25)
+#define RSPAMD_TASK_FLAG_GREYLISTED (1 << 26)
#define RSPAMD_TASK_IS_SKIPPED(task) (((task)->flags & RSPAMD_TASK_FLAG_SKIP))
#define RSPAMD_TASK_IS_JSON(task) (((task)->flags & RSPAMD_TASK_FLAG_JSON))
@@ -124,7 +125,7 @@ struct rspamd_task {
guint processed_stages; /**< bits of stages that are processed */
enum rspamd_command cmd; /**< command */
gint sock; /**< socket descriptor */
- guint flags; /**< Bit flags */
+ guint32 flags; /**< Bit flags */
guint32 dns_requests; /**< number of DNS requests per this task */
gulong message_len; /**< Message length */
gchar *helo; /**< helo header value */