X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=h%2Fmhparse.h;h=782ab51a5ff3079ee77852520bc5f113ebee7c1b;hb=9e5b3025ed2dbb984181c8616456bbfa804bd1fa;hp=6778654aa62db4805680f3628cbaf3e454058cb8;hpb=e15c750b678ec42965c68106cc645e33a9e45109;p=mmh diff --git a/h/mhparse.h b/h/mhparse.h index 6778654..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,10 +110,8 @@ struct Content { SizeCEFunc c_cesizefnx; /* size of decoded contents */ int c_umask; /* associated umask */ - 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) */ @@ -252,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 *);