diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-04-24 16:52:59 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-04-24 16:52:59 +0100 |
commit | ac7140f3be4c97d27f3da58500be1be1594b442c (patch) | |
tree | 7ea8b1ce1384244bb9d87850fedf7bbbaea0b75b /src/libmime/message.h | |
parent | 6336f4e4794fb3c492154fbc8898baf070b32b62 (diff) | |
download | rspamd-ac7140f3be4c97d27f3da58500be1be1594b442c.tar.gz rspamd-ac7140f3be4c97d27f3da58500be1be1594b442c.zip |
[Fetaure] Add method that detects 8 bit characters in text parts
Diffstat (limited to 'src/libmime/message.h')
-rw-r--r-- | src/libmime/message.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libmime/message.h b/src/libmime/message.h index 22f4fd24d..a6a6f0595 100644 --- a/src/libmime/message.h +++ b/src/libmime/message.h @@ -69,6 +69,8 @@ struct rspamd_mime_part { #define RSPAMD_MIME_TEXT_PART_FLAG_BALANCED (1 << 1) #define RSPAMD_MIME_TEXT_PART_FLAG_EMPTY (1 << 2) #define RSPAMD_MIME_TEXT_PART_FLAG_HTML (1 << 3) +#define RSPAMD_MIME_TEXT_PART_FLAG_8BIT (1 << 4) +#define RSPAMD_MIME_TEXT_PART_FLAG_8BIT_ENCODED (1 << 5) #define IS_PART_EMPTY(part) ((part)->flags & RSPAMD_MIME_TEXT_PART_FLAG_EMPTY) #define IS_PART_UTF(part) ((part)->flags & RSPAMD_MIME_TEXT_PART_FLAG_UTF) |