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/tests | |
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/tests')
-rw-r--r-- | camel/tests/lib/messages.c | 6 | ||||
-rw-r--r-- | camel/tests/message/test1.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/camel/tests/lib/messages.c b/camel/tests/lib/messages.c index 5a687e8df3..ff3485f9c2 100644 --- a/camel/tests/lib/messages.c +++ b/camel/tests/lib/messages.c @@ -256,8 +256,8 @@ message_dump_rec(CamelMimeMessage *msg, CamelMimePart *part, int depth) printf("%sPart <%s>\n", s, ((CamelObject *)part)->klass->name); printf("%sContent-Type: %s\n", s, mime_type); g_free(mime_type); - printf("%s encoding: %s\n", s, camel_mime_part_encoding_to_string(((CamelDataWrapper *)part)->encoding)); - printf("%s part encoding: %s\n", s, camel_mime_part_encoding_to_string(part->encoding)); + printf("%s encoding: %s\n", s, camel_transfer_encoding_to_string(((CamelDataWrapper *)part)->encoding)); + printf("%s part encoding: %s\n", s, camel_transfer_encoding_to_string(part->encoding)); containee = camel_medium_get_content_object (CAMEL_MEDIUM (part)); @@ -268,7 +268,7 @@ message_dump_rec(CamelMimeMessage *msg, CamelMimePart *part, int depth) printf("%sContent <%s>\n", s, ((CamelObject *)containee)->klass->name); printf ("%sContent-Type: %s\n", s, mime_type); g_free (mime_type); - printf("%s encoding: %s\n", s, camel_mime_part_encoding_to_string(((CamelDataWrapper *)containee)->encoding)); + printf("%s encoding: %s\n", s, camel_transfer_encoding_to_string(((CamelDataWrapper *)containee)->encoding)); /* using the object types is more accurate than using the mime/types */ if (CAMEL_IS_MULTIPART (containee)) { diff --git a/camel/tests/message/test1.c b/camel/tests/message/test1.c index 6eadfcacc2..3c16dab963 100644 --- a/camel/tests/message/test1.c +++ b/camel/tests/message/test1.c @@ -164,7 +164,7 @@ int main(int argc, char **argv) len = texts[j].len; for (i=0;i<CAMEL_MIME_PART_NUM_ENCODINGS;i++) { - push("test simple message, encoding %s", camel_mime_part_encoding_to_string(i)); + push("test simple message, encoding %s", camel_transfer_encoding_to_string(i)); msg = test_message_create_simple(); push("set simple content"); |