]> diplodocus.org Git - nmh/blobdiff - h/mhparse.h
Add a test for dist to make sure it works with headers that need RFC-2047
[nmh] / h / mhparse.h
index 62e6c0b390983f48b75c51db0c792e0b04140e23..29fc1afe1fcc2fc964e434e942578847c87cc4ba 100644 (file)
@@ -296,6 +296,9 @@ CT parse_mime (char *);
  *               that the composition file is already in MIME format
  *               and will not be processed further.  Otherwise, an
  *               error is generated.
+ * dist                - A flag to indicate if we are being run by "dist".  In
+ *               that case, add no MIME headers to the message.  Existing
+ *               headers will still be encoded by RFC 2047.
  * directives  - A flag to control whether or not build directives are
  *               processed by default.
  * encoding    - The default encoding to use when doing RFC 2047 header
@@ -306,7 +309,8 @@ CT parse_mime (char *);
  * -auto flag is set and a MIME-Version header is encountered, the return
  * value is NULL.
  */
-CT build_mime (char *infile, int autobuild, int directives, int encoding);
+CT build_mime (char *infile, int autobuild, int dist, int directives,
+              int encoding);
 
 int add_header (CT, char *, char *);
 int get_ctinfo (char *, CT, int);