aboutsummaryrefslogtreecommitdiff
path: root/mailutils/mail.h
diff options
context:
space:
mode:
Diffstat (limited to 'mailutils/mail.h')
-rw-r--r--mailutils/mail.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/mailutils/mail.h b/mailutils/mail.h
index b14228a4a..a07d535cf 100644
--- a/mailutils/mail.h
+++ b/mailutils/mail.h
@@ -11,7 +11,6 @@ struct globals {
11 pid_t helper_pid; 11 pid_t helper_pid;
12 unsigned timeout; 12 unsigned timeout;
13 unsigned verbose; 13 unsigned verbose;
14 unsigned opts;
15 char *user; 14 char *user;
16 char *pass; 15 char *pass;
17 FILE *fp0; // initial stdin 16 FILE *fp0; // initial stdin
@@ -19,9 +18,6 @@ struct globals {
19}; 18};
20 19
21#define G (*ptr_to_globals) 20#define G (*ptr_to_globals)
22#define timeout (G.timeout )
23#define verbose (G.verbose )
24#define opts (G.opts )
25#define INIT_G() do { \ 21#define INIT_G() do { \
26 SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ 22 SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
27 G.opt_charset = (char *)CONFIG_FEATURE_MIME_CHARSET; \ 23 G.opt_charset = (char *)CONFIG_FEATURE_MIME_CHARSET; \
@@ -32,6 +28,7 @@ struct globals {
32void launch_helper(const char **argv) FAST_FUNC; 28void launch_helper(const char **argv) FAST_FUNC;
33void get_cred_or_die(int fd) FAST_FUNC; 29void get_cred_or_die(int fd) FAST_FUNC;
34 30
31void send_r_n(const char *s) FAST_FUNC;
35char *send_mail_command(const char *fmt, const char *param) FAST_FUNC; 32char *send_mail_command(const char *fmt, const char *param) FAST_FUNC;
36 33
37void printbuf_base64(const char *buf, unsigned len) FAST_FUNC; 34void printbuf_base64(const char *buf, unsigned len) FAST_FUNC;