aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-29 15:45:34 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-29 15:45:34 +0000
commitd664f2fd52d6050460c9ca0ddebe8ef990fa0fb5 (patch)
tree5f11a8244bfb42826fcf4961642b04610005c39e /src/libserver/task.h
parent36c874383c4c56fb10c737a3f5932abc173080e2 (diff)
downloadrspamd-d664f2fd52d6050460c9ca0ddebe8ef990fa0fb5.tar.gz
rspamd-d664f2fd52d6050460c9ca0ddebe8ef990fa0fb5.zip
[Feature] Allow to get task flags in C expressions
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r--src/libserver/task.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h
index b41b308e4..34e160dc0 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -116,6 +116,7 @@ enum rspamd_task_stage {
#define RSPAMD_TASK_FLAG_OWN_POOL (1 << 27)
#define RSPAMD_TASK_FLAG_MILTER (1 << 28)
#define RSPAMD_TASK_FLAG_SSL (1 << 29)
+#define RSPAMD_TASK_FLAG_BAD_UNICODE (1 << 30)
#define RSPAMD_TASK_IS_SKIPPED(task) (((task)->flags & RSPAMD_TASK_FLAG_SKIP))
#define RSPAMD_TASK_IS_JSON(task) (((task)->flags & RSPAMD_TASK_FLAG_JSON))