projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mhoutsbr.c: writeBase64aux() needs not to be exported.
[mmh]
/
h
/
mhparse.h
diff --git
a/h/mhparse.h
b/h/mhparse.h
index
af9b8ca
..
1954d89
100644
(file)
--- 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 */
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 */
/* Content-Transfer-Encoding info (decoded contents) */
CE c_cefile; /* structure holding decoded content */
@@
-101,7
+102,6
@@
struct Content {
/* pointers to content-specific structures */
void *c_ctparams; /* content type specific data */
/* pointers to content-specific structures */
void *c_ctparams; /* content type specific data */
- struct exbody *c_ctexbody; /* data for type message/external */
/* function pointers */
InitFunc c_ctinitfnx; /* parse content body */
/* function pointers */
InitFunc c_ctinitfnx; /* parse content body */
@@
-110,11
+110,8
@@
struct Content {
SizeCEFunc c_cesizefnx; /* size of decoded contents */
int c_umask; /* associated umask */
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_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) */
char *c_storeproc; /* overrides profile entry, if any */
char *c_storage; /* write contents (file) */
@@
-210,24
+207,6
@@
struct partial {
int pm_stored;
};
int pm_stored;
};
-/* Structure for message/external */
-struct exbody {
- CT eb_parent; /* pointer to controlling content structure */
- CT eb_content; /* pointer to internal content structure */
- char *eb_partno;
- char *eb_access;
- int eb_flags;
- char *eb_name;
- char *eb_permission;
- char *eb_site;
- char *eb_dir;
- char *eb_mode;
- unsigned long eb_size;
- char *eb_server;
- char *eb_subject;
- char *eb_body;
-};
-
/*
** APPLICATION content
*/
/*
** APPLICATION content
*/
@@
-262,7
+241,6
@@
struct str2init {
};
extern struct str2init str2cts[];
extern struct str2init str2ces[];
};
extern struct str2init str2cts[];
extern struct str2init str2ces[];
-extern struct str2init str2methods[];
/*
** prototypes
/*
** prototypes
@@
-271,6
+249,5
@@
int pidcheck(int);
CT parse_mime(char *);
int add_header(CT, char *, char *);
int get_ctinfo(unsigned char *, CT, int);
CT parse_mime(char *);
int add_header(CT, char *, char *);
int get_ctinfo(unsigned char *, CT, int);
-int params_external(CT, int);
int open7Bit(CT, char **);
void close_encoding(CT);
int open7Bit(CT, char **);
void close_encoding(CT);