diff options
author | Bertrand Guiheneuf <bertrand@src.gnome.org> | 2000-02-22 08:10:22 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 2000-02-22 08:10:22 +0800 |
commit | d28c85dd04ba77b30232c8c5dc1c5db3d4c14753 (patch) | |
tree | 19698fb20e5eb5ddf398bf9ffe023e30eea563d7 /camel/gmime-base64.c | |
parent | 3b3a08b1de601f1ec9fd0d8f210b0ec49bfba1a1 (diff) | |
download | gsoc2013-evolution-d28c85dd04ba77b30232c8c5dc1c5db3d4c14753.tar gsoc2013-evolution-d28c85dd04ba77b30232c8c5dc1c5db3d4c14753.tar.gz gsoc2013-evolution-d28c85dd04ba77b30232c8c5dc1c5db3d4c14753.tar.bz2 gsoc2013-evolution-d28c85dd04ba77b30232c8c5dc1c5db3d4c14753.tar.lz gsoc2013-evolution-d28c85dd04ba77b30232c8c5dc1c5db3d4c14753.tar.xz gsoc2013-evolution-d28c85dd04ba77b30232c8c5dc1c5db3d4c14753.tar.zst gsoc2013-evolution-d28c85dd04ba77b30232c8c5dc1c5db3d4c14753.zip |
A lot of changes in the way the parsing works. I am too lazy
to find all the changes.
Important notice, I added uggly hacks to camel-formatter.c
and message-browser so that I could test b64 decoding.
Saving streams works. Have to implement qp now.
svn path=/trunk/; revision=1893
Diffstat (limited to 'camel/gmime-base64.c')
-rw-r--r-- | camel/gmime-base64.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/camel/gmime-base64.c b/camel/gmime-base64.c index a75e5c0f17..3611cc5247 100644 --- a/camel/gmime-base64.c +++ b/camel/gmime-base64.c @@ -17,7 +17,7 @@ static char *base64_alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** - * gmime_encode_base64: + * gmime_encode_base64_to_stream: * @input: The data source to be encoded in base64 format * @output: Where to put the encoded information in. * @@ -25,7 +25,7 @@ static char *base64_alphabet = * base64 encoding and stores it on the @output CamelStream object */ void -gmime_encode_base64 (CamelStream *input, CamelStream *output) +gmime_encode_base64_to_stream (CamelStream *input, CamelStream *output) { char buffer [BSIZE]; char obuf [80]; /* Output is limited to 76 characters, rfc2045 */ @@ -83,6 +83,11 @@ gmime_encode_base64 (CamelStream *input, CamelStream *output) } + + + + + /** * gmime_decode_base64: * @input: A buffer in base64 format. |