aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-internet-address.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-02-13 08:30:45 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-02-13 08:30:45 +0800
commit7fc592861825abf6bf91a324d636ef433f8100b8 (patch)
tree993cdda1899cdf2a8939a0436ad69e48fcd08d06 /camel/camel-internet-address.h
parentf856d19202dc273ecbae3b9116d2d23fe4915d28 (diff)
downloadgsoc2013-evolution-7fc592861825abf6bf91a324d636ef433f8100b8.tar
gsoc2013-evolution-7fc592861825abf6bf91a324d636ef433f8100b8.tar.gz
gsoc2013-evolution-7fc592861825abf6bf91a324d636ef433f8100b8.tar.bz2
gsoc2013-evolution-7fc592861825abf6bf91a324d636ef433f8100b8.tar.lz
gsoc2013-evolution-7fc592861825abf6bf91a324d636ef433f8100b8.tar.xz
gsoc2013-evolution-7fc592861825abf6bf91a324d636ef433f8100b8.tar.zst
gsoc2013-evolution-7fc592861825abf6bf91a324d636ef433f8100b8.zip
Add address headers to list that we dont fold when writing. The are
2001-02-12 Not Zed <NotZed@Ximian.com> * camel-mime-part.c (init_header_name_table): Add address headers to list that we dont fold when writing. The are properly formatted as we build them. (write_to_stream): DOH, lookup the header name in the formatted hash table, not the value, that would never have worked. * camel-internet-address.c (camel_internet_address_encode_address): Changed to take a parameter saying how much we've printed so far. We now fold the header as we format it. We dont fold addresses, even if they are too long, we simply put them on another line by themselves: this should make the result more parsable by mailers that can't handle split up addresses (which are legal). (internet_encode): Fix for changes to above. svn path=/trunk/; revision=8198
Diffstat (limited to 'camel/camel-internet-address.h')
-rw-r--r--camel/camel-internet-address.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-internet-address.h b/camel/camel-internet-address.h
index 879514c158..7afd74fad9 100644
--- a/camel/camel-internet-address.h
+++ b/camel/camel-internet-address.h
@@ -49,7 +49,7 @@ int camel_internet_address_find_name(CamelInternetAddress *, const char *, con
int camel_internet_address_find_address(CamelInternetAddress *, const char *, const char **);
/* utility functions, for network/display formatting */
-char * camel_internet_address_encode_address(const char *name, const char *addr);
+char * camel_internet_address_encode_address(int *len, const char *name, const char *addr);
char * camel_internet_address_format_address(const char *real, const char *addr);
#endif /* ! _CAMEL_INTERNET_ADDRESS_H */