X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Fmhparse.h;h=1ff37bf39da9e0c818ba99432b54ab9a47506c1d;hp=6778654aa62db4805680f3628cbaf3e454058cb8;hb=ee8d01d64e8832304256de53db07228e2be67f6a;hpb=e15c750b678ec42965c68106cc645e33a9e45109 diff --git a/h/mhparse.h b/h/mhparse.h index 6778654..1ff37bf 100644 --- a/h/mhparse.h +++ b/h/mhparse.h @@ -91,9 +91,11 @@ struct Content { char *c_partno; /* within multipart content */ /* Content-Type info */ + boolean crlf; /* are the line ending CRLF */ 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 +111,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 +252,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 *);