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 */
45 extern char B64Chars[];
48 #define is_multipart(x) \
49 ((x)->type == TYPEMULTIPART \
50 || ((x)->type == TYPEMESSAGE && (!strcasecmp((x)->subtype, "rfc822") \
51 || !strcasecmp((x)->subtype, "news"))))
53 extern const char *BodyTypes[];
54 extern const char *BodyEncodings[];
56 #define TYPE(X) ((X->type == TYPEOTHER) && (X->xtype != NULL) ? X->xtype : BodyTypes[(X->type)])
57 #define ENCODING(X) BodyEncodings[(X)]
59 /* other MIME-related global variables */
61 extern char MimeSpecials[];