Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / h / mhn.h
1 /* mhn.h - definitions for mhn & friends */
2 /* @(#)$Id: mhn.h,v 1.3 1993/08/20 15:43:43 jromine Exp $ */
3
4 #define VRSN_FIELD      "MIME-Version"
5 #define VRSN_VALUE      "1.0"
6
7 #define XXX_FIELD_PRF   "Content-"
8
9 #define TYPE_FIELD      "Content-Type"
10
11 #define ENCODING_FIELD  "Content-Transfer-Encoding"
12
13 #define ID_FIELD        "Content-ID"
14
15 #define DESCR_FIELD     "Content-Description"
16
17 #define MD5_FIELD       "Content-MD5"
18
19
20 #define isatom(c) \
21         (!isspace (c) \
22             && !iscntrl (c) \
23             && (c) != '(' \
24             && (c) != ')' \
25             && (c) != '<' \
26             && (c) != '>' \
27             && (c) != '@' \
28             && (c) != ',' \
29             && (c) != ';' \
30             && (c) != ':' \
31             && (c) != '\\' \
32             && (c) != '"' \
33             && (c) != '.' \
34             && (c) != '[' \
35             && (c) != ']')
36
37 #define istoken(c) \
38         (!isspace (c) \
39             && !iscntrl (c) \
40             && (c) != '(' \
41             && (c) != ')' \
42             && (c) != '<' \
43             && (c) != '>' \
44             && (c) != '@' \
45             && (c) != ',' \
46             && (c) != ';' \
47             && (c) != ':' \
48             && (c) != '\\' \
49             && (c) != '"' \
50             && (c) != '/' \
51             && (c) != '[' \
52             && (c) != ']' \
53             && (c) != '?' \
54             && (c) != '=')
55
56 /* MTR: removed now, since likely to go away in the future
57             && (c) != '.' \
58  */
59
60 /* \f */
61
62 #define CPERLIN 76
63 #define BPERLIN (CPERLIN / 4)
64 #define LPERMSG 632
65 #define CPERMSG (LPERMSG * CPERLIN)
66
67 /* \f */
68
69 #if     defined(BSD42) || defined(SOCKETS)
70 #define FTP
71 #endif