X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Fmhparse.h;h=782ab51a5ff3079ee77852520bc5f113ebee7c1b;hp=2d88127fa56ac5ab3f0e53eb8b248dc6070aab3c;hb=18591f8e001ecedbee48a51c1d1f08ebaa1c15c8;hpb=55e1d8c654ee0f7c45b9361ce34617983b454c32 diff --git a/h/mhparse.h b/h/mhparse.h index 2d88127..782ab51 100644 --- a/h/mhparse.h +++ b/h/mhparse.h @@ -94,6 +94,7 @@ struct Content { struct CTinfo c_ctinfo; /* parsed elements of Content-Type */ int c_type; /* internal flag for content type */ int c_subtype; /* internal flag for content subtype */ + char *c_charset; /* charset string */ /* Content-Transfer-Encoding info (decoded contents) */ CE c_cefile; /* structure holding decoded content */ @@ -109,11 +110,8 @@ struct Content { SizeCEFunc c_cesizefnx; /* size of decoded contents */ int c_umask; /* associated umask */ - pid_t c_pid; /* process doing display */ - int c_rfc934; /* rfc934 compatibility flag */ char *c_showproc; /* default, if not in profile */ - char *c_termproc; /* for charset madness... */ char *c_storeproc; /* overrides profile entry, if any */ char *c_storage; /* write contents (file) */ @@ -253,3 +251,4 @@ int add_header(CT, char *, char *); int get_ctinfo(unsigned char *, CT, int); int open7Bit(CT, char **); void close_encoding(CT); +char *extract_name_value(char *, char *);