aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-06-28 06:14:20 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-06-28 06:14:20 +0800
commit016826bc8a947b2ea0308971cb1ca355bef4aa47 (patch)
tree2db4c482f1fa79988958a2c256a7e657bfcd4f9e /camel/camel-mime-utils.h
parent4cbcd49a8bed07221be190b80e84e23f0ad7d449 (diff)
downloadgsoc2013-evolution-016826bc8a947b2ea0308971cb1ca355bef4aa47.tar
gsoc2013-evolution-016826bc8a947b2ea0308971cb1ca355bef4aa47.tar.gz
gsoc2013-evolution-016826bc8a947b2ea0308971cb1ca355bef4aa47.tar.bz2
gsoc2013-evolution-016826bc8a947b2ea0308971cb1ca355bef4aa47.tar.lz
gsoc2013-evolution-016826bc8a947b2ea0308971cb1ca355bef4aa47.tar.xz
gsoc2013-evolution-016826bc8a947b2ea0308971cb1ca355bef4aa47.tar.zst
gsoc2013-evolution-016826bc8a947b2ea0308971cb1ca355bef4aa47.zip
Use the new header_address_fold.
2001-06-27 Jeffrey Stedfast <fejj@ximian.com> * camel-internet-address.c (camel_internet_address_encode_address): Use the new header_address_fold. * camel-mime-utils.c: Removed some old #if 0'd code of mine. (rfc2047_encode_word): If enclen is 0, don't write an encoded word token (=?iso-8859-7?Q??= would be an invalid token). (header_address_fold): New function to wrap address headers - header_fold() was force-wrapping rfc2047 encoded words which was making the test suite fail. The *real* solution, however, is to not create rfc2047 encoded words longer than 72 chars. svn path=/trunk/; revision=10545
Diffstat (limited to 'camel/camel-mime-utils.h')
-rw-r--r--camel/camel-mime-utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/camel-mime-utils.h b/camel/camel-mime-utils.h
index 08755c47b1..c32485d000 100644
--- a/camel/camel-mime-utils.h
+++ b/camel/camel-mime-utils.h
@@ -145,6 +145,7 @@ void header_raw_clear(struct _header_raw **list);
char *header_raw_check_mailing_list(struct _header_raw **list);
/* fold a header */
+char *header_address_fold(const char *in, int headerlen);
char *header_fold(const char *in, int headerlen);
char *header_unfold(const char *in);