X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/68036228524d8e62588ace46d71aeb05ff04ffa4..d4952eb5d87466fd765d35c0883ebf24cd2adb7b:/h/mhparse.h?ds=inline diff --git a/h/mhparse.h b/h/mhparse.h index b9e7b90e..371e671a 100644 --- a/h/mhparse.h +++ b/h/mhparse.h @@ -205,6 +205,7 @@ struct text { #define MULTI_ALTERNATE 0x02 #define MULTI_DIGEST 0x03 #define MULTI_PARALLEL 0x04 +#define MULTI_RELATED 0x05 /* Structure for subparts of a multipart content */ struct part { @@ -528,3 +529,13 @@ int show_content_aux(CT ct, int alternate, char *cp, char *cracked, struct format *fmt); extern int checksw; /* Add Content-MD5 field */ + +/* + * mhstore + * Put it here because it uses the CT typedef. + */ +typedef struct mhstoreinfo *mhstoreinfo_t; +mhstoreinfo_t mhstoreinfo_create(CT *, char *, const char *, int, int); +int mhstoreinfo_files_not_clobbered(const mhstoreinfo_t); +void mhstoreinfo_free(mhstoreinfo_t); +void store_all_messages (mhstoreinfo_t);