aboutsummaryrefslogtreecommitdiff
path: root/mailutils/mail.h
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2012-03-23 12:12:03 +0000
committerRon Yorston <rmy@pobox.com>2012-03-23 12:12:03 +0000
commitb0f54743e36af163ae2530c381c485bb29df13dc (patch)
treecda4cfeaae6e47fe4f14c1b566092be4da9affc4 /mailutils/mail.h
parent40514a0309939f2446f0d4ed9600cad5de396e7f (diff)
parentba88826c66411affc1da3614742b454654f7298a (diff)
downloadbusybox-w32-b0f54743e36af163ae2530c381c485bb29df13dc.tar.gz
busybox-w32-b0f54743e36af163ae2530c381c485bb29df13dc.tar.bz2
busybox-w32-b0f54743e36af163ae2530c381c485bb29df13dc.zip
Merge branch 'busybox' into merge
Conflicts: Makefile.flags
Diffstat (limited to 'mailutils/mail.h')
-rw-r--r--mailutils/mail.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/mailutils/mail.h b/mailutils/mail.h
index d1d783055..fa0c5b378 100644
--- a/mailutils/mail.h
+++ b/mailutils/mail.h
@@ -16,22 +16,15 @@ struct globals {
16 char *pass; 16 char *pass;
17 FILE *fp0; // initial stdin 17 FILE *fp0; // initial stdin
18 char *opt_charset; 18 char *opt_charset;
19 char *content_type;
20}; 19};
21 20
22#define G (*ptr_to_globals) 21#define G (*ptr_to_globals)
23#define timeout (G.timeout ) 22#define timeout (G.timeout )
24#define verbose (G.verbose ) 23#define verbose (G.verbose )
25#define opts (G.opts ) 24#define opts (G.opts )
26//#define user (G.user )
27//#define pass (G.pass )
28//#define fp0 (G.fp0 )
29//#define opt_charset (G.opt_charset)
30//#define content_type (G.content_type)
31#define INIT_G() do { \ 25#define INIT_G() do { \
32 SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ 26 SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
33 G.opt_charset = (char *)CONFIG_FEATURE_MIME_CHARSET; \ 27 G.opt_charset = (char *)CONFIG_FEATURE_MIME_CHARSET; \
34 G.content_type = (char *)"text/plain"; \
35} while (0) 28} while (0)
36 29
37//char FAST_FUNC *parse_url(char *url, char **user, char **pass); 30//char FAST_FUNC *parse_url(char *url, char **user, char **pass);