23 #ifndef MUTT_EMAIL_MIME_H 24 #define MUTT_EMAIL_MIME_H 75 #define hexval(ch) IndexHex[(unsigned int) (ch)] 77 #define is_multipart(body) \ 78 (((body)->type == TYPE_MULTIPART) || \ 79 (((body)->type == TYPE_MESSAGE) && ((body)->subtype) && \ 80 ((strcasecmp((body)->subtype, "rfc822") == 0) || \ 81 (strcasecmp((body)->subtype, "news") == 0)))) 84 ((body->type == TYPE_OTHER) && body->xtype ? body->xtype : BodyTypes[(body->type)]) 85 #define ENCODING(x) BodyEncodings[(x)] ContentDisposition
Content-Disposition values.
Type: '*' or '.*'.
const char MimeSpecials[]
Characters that need special treatment in MIME.
const int IndexHex[128]
Lookup table for ASCII hex digits.
const char *const BodyTypes[]
Common MIME body types.
Type: 'message/*'.
Type: 'multipart/*'.
No preferred disposition.
const char *const BodyEncodings[]
Common MIME body encodings.
Type: 'application/*'.
ContentEncoding
Content-Transfer-Encoding.