]> diplodocus.org Git - nmh/blobdiff - h/mime.h
uip/dropsbr.c: Fix buffer overrun in mbx_copy().
[nmh] / h / mime.h
index 9fcaf5d3ba956351675dbff315353e1b78da1fa6..be854425b2f426dcb29adea1b17f9ff09b54c0e5 100644 (file)
--- a/h/mime.h
+++ b/h/mime.h
 #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        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) != ']')
+#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-"
 
 /*
  * Test for valid characters used in "token"