aboutsummaryrefslogtreecommitdiff
path: root/mailutils/mail.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-12-20 05:12:39 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-12-20 05:12:39 +0100
commit5707b52fd4de0d9d5ebb496f459fa4fa66215226 (patch)
tree40ccc1ba8324ada382607c07e16203239043aa37 /mailutils/mail.h
parent27c6c00a7cf141aaa972c0f9691072db287a36ae (diff)
downloadbusybox-5707b52fd4de0d9d5ebb496f459fa4fa66215226.tar.gz
mailutils/*: add verbose option to sendmail; remove -m and -j from makemime
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'mailutils/mail.h')
-rw-r--r--mailutils/mail.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/mailutils/mail.h b/mailutils/mail.h
index e0048fbfa..d1d783055 100644
--- a/mailutils/mail.h
+++ b/mailutils/mail.h
@@ -1,7 +1,16 @@
+/* vi: set sw=4 ts=4: */
+/*
+ * helper routines
+ *
+ * Copyright (C) 2008 by Vladimir Dronnikov <dronnikov@gmail.com>
+ *
+ * Licensed under GPLv2, see file LICENSE in this source tree.
+ */
struct globals {
pid_t helper_pid;
unsigned timeout;
+ unsigned verbose;
unsigned opts;
char *user;
char *pass;
@@ -12,6 +21,7 @@ struct globals {
#define G (*ptr_to_globals)
#define timeout (G.timeout )
+#define verbose (G.verbose )
#define opts (G.opts )
//#define user (G.user )
//#define pass (G.pass )
@@ -26,9 +36,9 @@ struct globals {
//char FAST_FUNC *parse_url(char *url, char **user, char **pass);
-void FAST_FUNC launch_helper(const char **argv);
-void FAST_FUNC get_cred_or_die(int fd);
+void launch_helper(const char **argv) FAST_FUNC;
+void get_cred_or_die(int fd) FAST_FUNC;
-const FAST_FUNC char *command(const char *fmt, const char *param);
+char *send_mail_command(const char *fmt, const char *param) FAST_FUNC;
-void FAST_FUNC encode_base64(char *fname, const char *text, const char *eol);
+void encode_base64(char *fname, const char *text, const char *eol) FAST_FUNC;