aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-01-06 17:00:24 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-01-06 17:00:24 +0000
commitf358aec84f8bc2aa38c17a79d79b7a0b26faa4a0 (patch)
tree5c098215abe374c0f5a89dec565eddd418727d37 /src/libserver/task.h
parent02d4e6e93a9ebff21cd239268d882971a98d61bc (diff)
downloadrspamd-f358aec84f8bc2aa38c17a79d79b7a0b26faa4a0.tar.gz
rspamd-f358aec84f8bc2aa38c17a79d79b7a0b26faa4a0.zip
[Minor] Core: Add concept of mime only rules
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 34e160dc0..7cdc09538 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -125,6 +125,7 @@ enum rspamd_task_stage {
#define RSPAMD_TASK_IS_CLASSIFIED(task) (((task)->processed_stages & RSPAMD_TASK_STAGE_CLASSIFIERS))
#define RSPAMD_TASK_IS_EMPTY(task) (((task)->flags & RSPAMD_TASK_FLAG_EMPTY))
#define RSPAMD_TASK_IS_PROFILING(task) (((task)->flags & RSPAMD_TASK_FLAG_PROFILE))
+#define RSPAMD_TASK_IS_MIME(task) (((task)->flags & RSPAMD_TASK_FLAG_MIME))
struct rspamd_email_address;
struct rspamd_lang_detector;