Remove RCS keywords, since they no longer work after git migration.
[mmh] / h / mime.h
1
2 /*
3  * mime.h -- definitions for MIME
4  */
5
6 #define VRSN_FIELD      "MIME-Version"
7 #define VRSN_VALUE      "1.0"
8 #define XXX_FIELD_PRF   "Content-"
9 #define TYPE_FIELD      "Content-Type"
10 #define ENCODING_FIELD  "Content-Transfer-Encoding"
11 #define ID_FIELD        "Content-ID"
12 #define DESCR_FIELD     "Content-Description"
13 #define DISPO_FIELD     "Content-Disposition"
14 #define MD5_FIELD       "Content-MD5"
15
16 #define isatom(c)   (!isspace (c) && !iscntrl (c) && (c) != '(' \
17                      && (c) != ')' && (c) != '<'  && (c) != '>' \
18                      && (c) != '@' && (c) != ','  && (c) != ';' \
19                      && (c) != ':' && (c) != '\\' && (c) != '"' \
20                      && (c) != '.' && (c) != '['  && (c) != ']')
21
22 /*
23  * Test for valid characters used in "token"
24  * as defined in RFC2045
25  */
26 #define istoken(c)  (!isspace (c) && !iscntrl (c) && (c) != '(' \
27                      && (c) != ')' && (c) != '<'  && (c) != '>' \
28                      && (c) != '@' && (c) != ','  && (c) != ';' \
29                      && (c) != ':' && (c) != '\\' && (c) != '"' \
30                      && (c) != '/' && (c) != '['  && (c) != ']' \
31                      && (c) != '?' && (c) != '=')
32
33 #define CPERLIN 76
34 #define BPERLIN (CPERLIN / 4)
35 #define LPERMSG 632
36 #define CPERMSG (LPERMSG * CPERLIN)
37