diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-10-06 15:19:41 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-10-06 15:19:41 +0800 |
commit | 9ab12dd363d2478adb151ee0b1795f251b82f127 (patch) | |
tree | f324b062e2d1d3640f25920edd99d3963ac8b536 /camel/camel-mime-filter-basic.h | |
parent | 2a92bbba53368e4cf2509d40dc044436eb59e3fd (diff) | |
download | gsoc2013-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-filter-basic.h')
-rw-r--r-- | camel/camel-mime-filter-basic.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/camel/camel-mime-filter-basic.h b/camel/camel-mime-filter-basic.h index f466f3a488..bf8088623b 100644 --- a/camel/camel-mime-filter-basic.h +++ b/camel/camel-mime-filter-basic.h @@ -34,6 +34,8 @@ typedef enum { CAMEL_MIME_FILTER_BASIC_BASE64_DEC, CAMEL_MIME_FILTER_BASIC_QP_ENC, CAMEL_MIME_FILTER_BASIC_QP_DEC, + CAMEL_MIME_FILTER_BASIC_UU_ENC, + CAMEL_MIME_FILTER_BASIC_UU_DEC, } CamelMimeFilterBasicType; struct _CamelMimeFilterBasic { @@ -43,8 +45,10 @@ struct _CamelMimeFilterBasic { CamelMimeFilterBasicType type; + unsigned char uubuf[60]; int state; int save; + char uulen; }; struct _CamelMimeFilterBasicClass { |