mhl and mhbuild ignore to long lines
[mmh] / h / mime.h
1 /*
2 ** mime.h -- definitions for MIME
3 */
4
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"
13
14 /*
15 ** Test for valid characters used in "token"
16 ** as defined in RFC2045
17 */
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) != '=')
24
25 #define CPERLIN  76
26 #define BPERLIN  (CPERLIN / 4)