Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / h / RCS / mhn.h,v
1 head    1.3;
2 access;
3 symbols;
4 locks; strict;
5 comment @ * @;
6
7
8 1.3
9 date    93.08.20.15.43.43;      author jromine; state Exp;
10 branches;
11 next    1.2;
12
13 1.2
14 date    92.10.16.17.13.19;      author jromine; state Exp;
15 branches;
16 next    1.1;
17
18 1.1
19 date    92.01.31.16.27.00;      author jromine; state Exp;
20 branches;
21 next    ;
22
23
24 desc
25 @multimedia MH
26 @
27
28
29 1.3
30 log
31 @fixes from mtr
32 @
33 text
34 @/* mhn.h - definitions for mhn & friends */
35 /* @@(#)$Id: mhn.h,v 1.2 1992/10/16 17:13:19 jromine Exp jromine $ */
36
37 #define VRSN_FIELD      "MIME-Version"
38 #define VRSN_VALUE      "1.0"
39
40 #define XXX_FIELD_PRF   "Content-"
41
42 #define TYPE_FIELD      "Content-Type"
43
44 #define ENCODING_FIELD  "Content-Transfer-Encoding"
45
46 #define ID_FIELD        "Content-ID"
47
48 #define DESCR_FIELD     "Content-Description"
49
50 #define MD5_FIELD       "Content-MD5"
51
52
53 #define isatom(c) \
54         (!isspace (c) \
55             && !iscntrl (c) \
56             && (c) != '(' \
57             && (c) != ')' \
58             && (c) != '<' \
59             && (c) != '>' \
60             && (c) != '@@' \
61             && (c) != ',' \
62             && (c) != ';' \
63             && (c) != ':' \
64             && (c) != '\\' \
65             && (c) != '"' \
66             && (c) != '.' \
67             && (c) != '[' \
68             && (c) != ']')
69
70 #define istoken(c) \
71         (!isspace (c) \
72             && !iscntrl (c) \
73             && (c) != '(' \
74             && (c) != ')' \
75             && (c) != '<' \
76             && (c) != '>' \
77             && (c) != '@@' \
78             && (c) != ',' \
79             && (c) != ';' \
80             && (c) != ':' \
81             && (c) != '\\' \
82             && (c) != '"' \
83             && (c) != '/' \
84             && (c) != '[' \
85             && (c) != ']' \
86             && (c) != '?' \
87             && (c) != '=')
88
89 /* MTR: removed now, since likely to go away in the future
90             && (c) != '.' \
91  */
92
93 /* \f */
94
95 #define CPERLIN 76
96 #define BPERLIN (CPERLIN / 4)
97 #define LPERMSG 632
98 #define CPERMSG (LPERMSG * CPERLIN)
99
100 /* \f */
101
102 #if     defined(BSD42) || defined(SOCKETS)
103 #define FTP
104 #endif
105 @
106
107
108 1.2
109 log
110 @fixes from mtr -- mime/update9
111 @
112 text
113 @d2 1
114 a2 1
115 /* @@(#)$Id: mhn.h,v 1.1 1992/01/31 16:27:00 jromine Exp $ */
116 d16 2
117 @
118
119
120 1.1
121 log
122 @Initial revision
123 @
124 text
125 @d2 1
126 a2 1
127 /* @@(#)$Id$ */
128 d52 3
129 d56 1
130 a56 1
131             && (c) != '=')
132 @