2 * Copyright notice from original mutt:
3 * Copyright (C) 1996-2000 Michael R. Elkins <me@mutt.org>
5 * This file is part of mutt-ng, see http://www.muttng.org/.
6 * It's licensed under the GNU General Public License,
7 * please see the file GPL in the top level source directory.
24 /* Content-Transfer-Encoding */
35 /* Content-Disposition values */
42 /* MIME encoding/decoding global vars */
44 #define is_multipart(x) \
45 ((x)->type == TYPEMULTIPART \
46 || ((x)->type == TYPEMESSAGE && (!strcasecmp((x)->subtype, "rfc822") \
47 || !strcasecmp((x)->subtype, "news"))))
49 extern const char *BodyTypes[];
50 extern const char *BodyEncodings[];
52 #define TYPE(X) ((X->type == TYPEOTHER) && (X->xtype != NULL) ? X->xtype : BodyTypes[(X->type)])
53 #define ENCODING(X) BodyEncodings[(X)]
55 /* other MIME-related global variables */
57 extern char MimeSpecials[];