X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1e0b1d40a6285c532b722f4584fa7ddde220deff..11eaebe50c6562b8919bc8d2a457c87269083818:/h/mime.h diff --git a/h/mime.h b/h/mime.h index 9cac94e5..a0022c18 100644 --- a/h/mime.h +++ b/h/mime.h @@ -1,6 +1,4 @@ - -/* - * mime.h -- definitions for MIME +/* mime.h -- definitions for MIME */ #define VRSN_FIELD "MIME-Version" @@ -11,21 +9,12 @@ #define ID_FIELD "Content-ID" #define DESCR_FIELD "Content-Description" #define DISPO_FIELD "Content-Disposition" -#define MD5_FIELD "Content-MD5" #define PSEUDOHEADER_PREFIX "Nmh-" #define ATTACH_FIELD PSEUDOHEADER_PREFIX "Attach" #define ATTACH_FIELD_ALT "Attach" #define MHBUILD_FILE_PSEUDOHEADER PSEUDOHEADER_PREFIX "mhbuild-file-" #define MHBUILD_ARGS_PSEUDOHEADER PSEUDOHEADER_PREFIX "mhbuild-args-" -#define isatom(c) (isascii((unsigned char) c) \ - && !isspace ((unsigned char) c) \ - && !iscntrl ((unsigned char) 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 @@ -59,4 +48,3 @@ #define BPERLIN (CPERLIN / 4) #define LPERMSG 632 #define CPERMSG (LPERMSG * CPERLIN) -