X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Fmime.h;h=d8551cb010cab534f574b55a8ea35f3318790415;hp=9773293be5c75a1d1c6cda89b02d1221926c9d39;hb=f78e7c6e6e616cc4ff2bee8a726365fafef2d8ce;hpb=51cb63baa791f6ba84c0a7f8538ecfd00b013bcb diff --git a/h/mime.h b/h/mime.h index 9773293..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) != ';' \