diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-04-03 13:03:29 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-04-03 13:03:29 +0400 |
commit | a2d1da15991d59bdc8663bc841258e5affd211ca (patch) | |
tree | 3354b900ff55ad570b02be1ca0172067bbbc67b9 /src/message.h | |
parent | b06c9c6e186599df1ce7e18352372ee5356684bd (diff) | |
download | rspamd-a2d1da15991d59bdc8663bc841258e5affd211ca.tar.gz rspamd-a2d1da15991d59bdc8663bc841258e5affd211ca.zip |
* Check mime regexp only in text and html parts
* Add 2 functions:
- has_content_part(type, subtype)
- has_content_part_len(type, subtype, min, max)
Diffstat (limited to 'src/message.h')
-rw-r--r-- | src/message.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/message.h b/src/message.h index 97b82985a..c67d14589 100644 --- a/src/message.h +++ b/src/message.h @@ -16,6 +16,7 @@ struct mime_part { struct mime_text_part { gboolean is_html; + GByteArray *orig; GByteArray *content; fuzzy_hash_t *fuzzy; }; |