aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-10-31 00:58:53 +0800
committerDan Winship <danw@src.gnome.org>2000-10-31 00:58:53 +0800
commitabe39be1720a9ae3fd3402a5a8b777473319fbdb (patch)
tree1c421910915f0c083e8a7d51488af68564ef5342 /camel/camel-mime-utils.h
parent45915f89e2279d67b0bf29ce3126cd4dabd61f9f (diff)
downloadgsoc2013-evolution-abe39be1720a9ae3fd3402a5a8b777473319fbdb.tar
gsoc2013-evolution-abe39be1720a9ae3fd3402a5a8b777473319fbdb.tar.gz
gsoc2013-evolution-abe39be1720a9ae3fd3402a5a8b777473319fbdb.tar.bz2
gsoc2013-evolution-abe39be1720a9ae3fd3402a5a8b777473319fbdb.tar.lz
gsoc2013-evolution-abe39be1720a9ae3fd3402a5a8b777473319fbdb.tar.xz
gsoc2013-evolution-abe39be1720a9ae3fd3402a5a8b777473319fbdb.tar.zst
gsoc2013-evolution-abe39be1720a9ae3fd3402a5a8b777473319fbdb.zip
Take an additional argument, "break_lines", saying whether or not to add
* camel-mime-utils.c (base64_encode_step, base64_encode_close): Take an additional argument, "break_lines", saying whether or not to add '\n's to the output. * camel-multipart.c (set_boundary): * camel-mime-filter-basic.c (filter, complete): Update for base64 api change. svn path=/trunk/; revision=6271
Diffstat (limited to 'camel/camel-mime-utils.h')
-rw-r--r--camel/camel-mime-utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-mime-utils.h b/camel/camel-mime-utils.h
index 1a503d6710..dc865004ee 100644
--- a/camel/camel-mime-utils.h
+++ b/camel/camel-mime-utils.h
@@ -167,8 +167,8 @@ void header_mime_decode(const char *in, int *maj, int *min);
/* do incremental base64/quoted-printable (de/en)coding */
int base64_decode_step(unsigned char *in, int len, unsigned char *out, int *state, unsigned int *save);
-int base64_encode_step(unsigned char *in, int len, unsigned char *out, int *state, int *save);
-int base64_encode_close(unsigned char *in, int inlen, unsigned char *out, int *state, int *save);
+int base64_encode_step(unsigned char *in, int len, gboolean break_lines, unsigned char *out, int *state, int *save);
+int base64_encode_close(unsigned char *in, int inlen, gboolean break_lines, unsigned char *out, int *state, int *save);
int uudecode_step (unsigned char *in, int len, unsigned char *out, int *state, guint32 *save, char *uulen);