aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-06 15:19:41 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-06 15:19:41 +0800
commit9ab12dd363d2478adb151ee0b1795f251b82f127 (patch)
treef324b062e2d1d3640f25920edd99d3963ac8b536 /camel/camel-mime-utils.h
parent2a92bbba53368e4cf2509d40dc044436eb59e3fd (diff)
downloadgsoc2013-evolution-9ab12dd363d2478adb151ee0b1795f251b82f127.tar.gz
gsoc2013-evolution-9ab12dd363d2478adb151ee0b1795f251b82f127.tar.zst
gsoc2013-evolution-9ab12dd363d2478adb151ee0b1795f251b82f127.zip
Implemented uuencoding and decoding. (complete): Implemented uuencoding
2001-10-06 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-filter-basic.c (filter): Implemented uuencoding and decoding. (complete): Implemented uuencoding and decoding. * camel-mime-utils.c (uuencode_close): New function to flush the uu encoder. (uuencode_step): New function to uuencode a block of data. svn path=/trunk/; revision=13476
Diffstat (limited to 'camel/camel-mime-utils.h')
-rw-r--r--camel/camel-mime-utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/camel/camel-mime-utils.h b/camel/camel-mime-utils.h
index 899fffbae5..d426668cb7 100644
--- a/camel/camel-mime-utils.h
+++ b/camel/camel-mime-utils.h
@@ -189,6 +189,10 @@ int base64_encode_step(unsigned char *in, int len, gboolean break_lines, unsigne
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);
+int uuencode_step (unsigned char *in, int len, unsigned char *out, unsigned char *uubuf, int *state,
+ guint32 *save, char *uulen);
+int uuencode_close (unsigned char *in, int len, unsigned char *out, unsigned char *uubuf, int *state,
+ guint32 *save, char *uulen);
int quoted_decode_step(unsigned char *in, int len, unsigned char *out, int *savestate, int *saveme);