diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-09-19 03:02:15 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-09-19 03:02:15 +0800 |
commit | 91195af48f02c220eb2eca29c2ab417faf8a705f (patch) | |
tree | c038f47f62273301e6241056556de733d911483f /camel/camel-mime-part.h | |
parent | 21c57eeb74e30e5c2a42c066889b7ca6cd874d74 (diff) | |
download | gsoc2013-evolution-91195af48f02c220eb2eca29c2ab417faf8a705f.tar.gz gsoc2013-evolution-91195af48f02c220eb2eca29c2ab417faf8a705f.tar.zst gsoc2013-evolution-91195af48f02c220eb2eca29c2ab417faf8a705f.zip |
New function to replace the one from camel-mime-part.c
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (camel_transfer_encoding_to_string): New
function to replace the one from camel-mime-part.c
(camel_transfer_encoding_from_string): Same.
(camel_content_transfer_encoding_decode): Renamed from
camel_header_content_encoding_decode().
* camel-mime-part.c (camel_mime_part_encoding_to_string): Removed.
(camel_mime_part_encoding_from_string): Removed.
* camel-data-wrapper.[c,h]: updated for CamelTransferEncoding
namespace changes
* camel-folder-summary.c: updated for CamelTransferEncoding
namespace changes
* camel-mime-filter-bestenc.[c,h]: updated for CamelTransferEncoding
namespace changes
* camel-mime-message.c: updated for CamelTransferEncoding
namespace changes
* camel-mime-part-utils.c: updated for CamelTransferEncoding
namespace changes
* camel-multipart-signed.c: updated for CamelTransferEncoding
namespace changes
* camel-smime-context.c: updated for CamelTransferEncoding
namespace changes
* providers/imapp/camel-imapp-utils.c: updated for
CamelTransferEncoding namespace changes
* tests/lib/messages.c: updated for CamelTransferEncoding
namespace changes
* tests/message/test1.c: updated for CamelTransferEncoding
namespace changes
svn path=/trunk/; revision=22617
Diffstat (limited to 'camel/camel-mime-part.h')
-rw-r--r-- | camel/camel-mime-part.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/camel/camel-mime-part.h b/camel/camel-mime-part.h index 5c3d7d9b59..2e7ea48a9c 100644 --- a/camel/camel-mime-part.h +++ b/camel/camel-mime-part.h @@ -56,7 +56,7 @@ struct _CamelMimePart { char *content_MD5; char *content_location; GList *content_languages; - CamelMimePartEncodingType encoding; + CamelTransferEncoding encoding; }; typedef struct _CamelMimePartClass { @@ -90,8 +90,8 @@ const char *camel_mime_part_get_content_MD5 (CamelMimePart *mime_part); void camel_mime_part_set_content_location (CamelMimePart *mime_part, const char *); const char *camel_mime_part_get_content_location (CamelMimePart *mime_part); -void camel_mime_part_set_encoding (CamelMimePart *mime_part, CamelMimePartEncodingType type); -CamelMimePartEncodingType camel_mime_part_get_encoding (CamelMimePart *mime_part); +void camel_mime_part_set_encoding (CamelMimePart *mime_part, CamelTransferEncoding type); +CamelTransferEncoding camel_mime_part_get_encoding (CamelMimePart *mime_part); void camel_mime_part_set_content_languages (CamelMimePart *mime_part, GList *content_languages); const GList *camel_mime_part_get_content_languages (CamelMimePart *mime_part); @@ -100,10 +100,6 @@ const GList *camel_mime_part_get_content_languages (CamelMimePart *mime_part); void camel_mime_part_set_content_type (CamelMimePart *mime_part, const char *content_type); CamelContentType *camel_mime_part_get_content_type (CamelMimePart *mime_part); -/* FIXME: move to camel-mime-utils, and rename CamelEncodingType or CamelTransferEncoding */ -const char * camel_mime_part_encoding_to_string (CamelMimePartEncodingType encoding); -CamelMimePartEncodingType camel_mime_part_encoding_from_string (const char *string); - /* construction */ int camel_mime_part_construct_from_parser (CamelMimePart *, CamelMimeParser *); |