Convert mail to mu_cli
Showing
4 changed files
with
5 additions
and
5 deletions
... | @@ -25,7 +25,7 @@ mailbindir=@MAILBINDIR@ | ... | @@ -25,7 +25,7 @@ mailbindir=@MAILBINDIR@ |
25 | mailbin_PROGRAMS = mail | 25 | mailbin_PROGRAMS = mail |
26 | 26 | ||
27 | mail_LDADD = \ | 27 | mail_LDADD = \ |
28 | ${MU_APP_LIBRARIES}\ | 28 | ${MU_APP_NEW_LIBRARIES}\ |
29 | ${MU_LIB_MBOX}\ | 29 | ${MU_LIB_MBOX}\ |
30 | ${MU_LIB_IMAP}\ | 30 | ${MU_LIB_IMAP}\ |
31 | ${MU_LIB_POP}\ | 31 | ${MU_LIB_POP}\ | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -256,8 +256,8 @@ extern int mail_header_is_unfoldable (const char *str); | ... | @@ -256,8 +256,8 @@ extern int mail_header_is_unfoldable (const char *str); |
256 | extern int mail_mbox_close (void); | 256 | extern int mail_mbox_close (void); |
257 | extern char *mail_expand_name (const char *name); | 257 | extern char *mail_expand_name (const char *name); |
258 | 258 | ||
259 | extern void send_append_header (char *text); | 259 | extern void send_append_header (char const *text); |
260 | extern void send_append_header2 (char *name, char *value, int mode); | 260 | extern void send_append_header2 (char const *name, char const *value, int mode); |
261 | extern int send_attach_file_default (const char *name); | 261 | extern int send_attach_file_default (const char *name); |
262 | 262 | ||
263 | extern int escape_check_args (int argc, char **argv, int minargs, int maxargs); | 263 | extern int escape_check_args (int argc, char **argv, int minargs, int maxargs); | ... | ... |
... | @@ -81,7 +81,7 @@ add_header (char *name, char *value, int mode) | ... | @@ -81,7 +81,7 @@ add_header (char *name, char *value, int mode) |
81 | } | 81 | } |
82 | 82 | ||
83 | void | 83 | void |
84 | send_append_header (char *text) | 84 | send_append_header (char const *text) |
85 | { | 85 | { |
86 | char *p; | 86 | char *p; |
87 | size_t len; | 87 | size_t len; |
... | @@ -104,7 +104,7 @@ send_append_header (char *text) | ... | @@ -104,7 +104,7 @@ send_append_header (char *text) |
104 | } | 104 | } |
105 | 105 | ||
106 | void | 106 | void |
107 | send_append_header2 (char *name, char *value, int mode) | 107 | send_append_header2 (char const *name, char const *value, int mode) |
108 | { | 108 | { |
109 | add_header (mu_strdup (name), mu_strdup (value), mode); | 109 | add_header (mu_strdup (name), mu_strdup (value), mode); |
110 | } | 110 | } | ... | ... |
-
Please register or sign in to post a comment