X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Fmime.h;h=d8551cb010cab534f574b55a8ea35f3318790415;hp=d51e3af63f6cae43f346031da41499302e840434;hb=f78e7c6e6e616cc4ff2bee8a726365fafef2d8ce;hpb=a485ed478abbd599d8c9aab48934e7a26733ecb1 diff --git a/h/mime.h b/h/mime.h index d51e3af..d8551cb 100644 --- a/h/mime.h +++ b/h/mime.h @@ -1,6 +1,6 @@ /* - * mime.h -- definitions for MIME - */ +** mime.h -- definitions for MIME +*/ #define VRSN_FIELD "MIME-Version" #define VRSN_VALUE "1.0" @@ -10,18 +10,11 @@ #define ID_FIELD "Content-ID" #define DESCR_FIELD "Content-Description" #define DISPO_FIELD "Content-Disposition" -#define MD5_FIELD "Content-MD5" - -#define isatom(c) (!isspace (c) && !iscntrl (c) && (c) != '(' \ - && (c) != ')' && (c) != '<' && (c) != '>' \ - && (c) != '@' && (c) != ',' && (c) != ';' \ - && (c) != ':' && (c) != '\\' && (c) != '"' \ - && (c) != '.' && (c) != '[' && (c) != ']') /* - * Test for valid characters used in "token" - * as defined in RFC2045 - */ +** Test for valid characters used in "token" +** as defined in RFC2045 +*/ #define istoken(c) (!isspace (c) && !iscntrl (c) && (c) != '(' \ && (c) != ')' && (c) != '<' && (c) != '>' \ && (c) != '@' && (c) != ',' && (c) != ';' \ @@ -31,5 +24,3 @@ #define CPERLIN 76 #define BPERLIN (CPERLIN / 4) -#define LPERMSG 632 -#define CPERMSG (LPERMSG * CPERLIN)