Commit a29af229 a29af229e7675aaabe28bdabf6cc2bd4b549e2cb by Sergey Poznyakoff

Convert mail to mu_cli

1 parent ee71e771
......@@ -25,7 +25,7 @@ mailbindir=@MAILBINDIR@
mailbin_PROGRAMS = mail
mail_LDADD = \
${MU_APP_LIBRARIES}\
${MU_APP_NEW_LIBRARIES}\
${MU_LIB_MBOX}\
${MU_LIB_IMAP}\
${MU_LIB_POP}\
......
......@@ -256,8 +256,8 @@ extern int mail_header_is_unfoldable (const char *str);
extern int mail_mbox_close (void);
extern char *mail_expand_name (const char *name);
extern void send_append_header (char *text);
extern void send_append_header2 (char *name, char *value, int mode);
extern void send_append_header (char const *text);
extern void send_append_header2 (char const *name, char const *value, int mode);
extern int send_attach_file_default (const char *name);
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)
}
void
send_append_header (char *text)
send_append_header (char const *text)
{
char *p;
size_t len;
......@@ -104,7 +104,7 @@ send_append_header (char *text)
}
void
send_append_header2 (char *name, char *value, int mode)
send_append_header2 (char const *name, char const *value, int mode)
{
add_header (mu_strdup (name), mu_strdup (value), mode);
}
......