diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-16 16:38:59 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-16 16:38:59 +0000 |
commit | 6aedc80226e3cbcb040f79c936933093d92de9da (patch) | |
tree | 9aee3e7af0ec43ef5afeca47357f3da744e9d311 /src/libmime/message.h | |
parent | ca837465f99c363e3707c40b4200036a0c85db27 (diff) | |
download | rspamd-6aedc80226e3cbcb040f79c936933093d92de9da.tar.gz rspamd-6aedc80226e3cbcb040f79c936933093d92de9da.zip |
[Rework|Minor] More updates for mime parsing
Diffstat (limited to 'src/libmime/message.h')
-rw-r--r-- | src/libmime/message.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libmime/message.h b/src/libmime/message.h index 66981ca9e..c4f0e7a8e 100644 --- a/src/libmime/message.h +++ b/src/libmime/message.h @@ -36,6 +36,10 @@ enum rspamd_cte { struct rspamd_mime_text_part; +struct rspamd_mime_multipart { + GPtrArray *children; +}; + struct rspamd_mime_part { struct rspamd_content_type *ct; struct rspamd_content_disposition *cd; @@ -48,7 +52,7 @@ struct rspamd_mime_part { enum rspamd_cte cte; union { - struct rspamd_mime_multipart *mp; + struct rspamd_mime_multipart mp; struct rspamd_mime_text_part *txt; struct rspamd_image *img; struct rspamd_archive *arch; @@ -58,10 +62,6 @@ struct rspamd_mime_part { guchar digest[rspamd_cryptobox_HASHBYTES]; }; -struct rspamd_mime_multipart { - GPtrArray *children; -}; - #define RSPAMD_MIME_TEXT_PART_FLAG_UTF (1 << 0) #define RSPAMD_MIME_TEXT_PART_FLAG_BALANCED (1 << 1) #define RSPAMD_MIME_TEXT_PART_FLAG_EMPTY (1 << 2) |