aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/message.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-05 17:58:27 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-05 17:58:27 +0000
commit145ffe5a0671ff5ac28a2ecced78548f7f1cb0ac (patch)
tree7f94b740dfeb6ea8f4e93bd9d822173cc22c0660 /src/libmime/message.h
parentdb804038ea664d0acff9c58bbb767754e115d036 (diff)
downloadrspamd-145ffe5a0671ff5ac28a2ecced78548f7f1cb0ac.tar.gz
rspamd-145ffe5a0671ff5ac28a2ecced78548f7f1cb0ac.zip
[Minor] Add ID to mime parts
Diffstat (limited to 'src/libmime/message.h')
-rw-r--r--src/libmime/message.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/libmime/message.h b/src/libmime/message.h
index 17077860d..0f5c3dfb7 100644
--- a/src/libmime/message.h
+++ b/src/libmime/message.h
@@ -51,11 +51,16 @@ struct rspamd_mime_part {
rspamd_ftok_t raw_data;
rspamd_ftok_t parsed_data;
struct rspamd_mime_part *parent_part;
- GHashTable *raw_headers;
+
GQueue *headers_order;
+ GHashTable *raw_headers;
+
gchar *raw_headers_str;
gsize raw_headers_len;
+
enum rspamd_cte cte;
+ enum rspamd_mime_part_flags flags;
+ guint id;
union {
struct rspamd_mime_multipart mp;
@@ -64,7 +69,6 @@ struct rspamd_mime_part {
struct rspamd_archive *arch;
} specific;
- enum rspamd_mime_part_flags flags;
guchar digest[rspamd_cryptobox_HASHBYTES];
};