]> diplodocus.org Git - nmh/blobdiff - h/mhparse.h
Added lockmethod pseudocomponent to mhparam so that users
[nmh] / h / mhparse.h
index ee19c3ec1a222a88d5772969fd9f35a3ee88ffe8..d7bdb3449f8e42e1725a7cfa4e083e11217cdffd 100644 (file)
@@ -191,6 +191,8 @@ struct part {
 struct multipart {
     char *mp_start;            /* boundary string separating parts   */
     char *mp_stop;             /* terminating boundary string        */
 struct multipart {
     char *mp_start;            /* boundary string separating parts   */
     char *mp_stop;             /* terminating boundary string        */
+    char *mp_content_before;   /* any content before the first subpart */
+    char *mp_content_after;    /* any content after the last subpart */
     struct part *mp_parts;     /* pointer to first subpart structure */
 };
 
     struct part *mp_parts;     /* pointer to first subpart structure */
 };
 
@@ -277,5 +279,11 @@ int get_ctinfo (char *, CT, int);
 int params_external (CT, int);
 int open7Bit (CT, char **);
 void close_encoding (CT);
 int params_external (CT, int);
 int open7Bit (CT, char **);
 void close_encoding (CT);
+void free_content (CT);
+char *ct_type_str (int);
+char *ct_subtype_str (int, int);
+const struct str2init *get_ct_init (int);
+const char *ce_str (int);
+const struct str2init *get_ce_method (const char *);
 
 extern int checksw;    /* Add Content-MD5 field */
 
 extern int checksw;    /* Add Content-MD5 field */