2 ** mime.h -- definitions for MIME
5 #define VRSN_FIELD "MIME-Version"
6 #define VRSN_VALUE "1.0"
7 #define XXX_FIELD_PRF "Content-"
8 #define TYPE_FIELD "Content-Type"
9 #define ENCODING_FIELD "Content-Transfer-Encoding"
10 #define ID_FIELD "Content-ID"
11 #define DESCR_FIELD "Content-Description"
12 #define DISPO_FIELD "Content-Disposition"
15 ** Test for valid characters used in "token"
16 ** as defined in RFC2045
18 #define istoken(c) (!isspace (c) && !iscntrl (c) && (c) != '(' \
19 && (c) != ')' && (c) != '<' && (c) != '>' \
20 && (c) != '@' && (c) != ',' && (c) != ';' \
21 && (c) != ':' && (c) != '\\' && (c) != '"' \
22 && (c) != '/' && (c) != '[' && (c) != ']' \
23 && (c) != '?' && (c) != '=')
26 #define BPERLIN (CPERLIN / 4)