diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-07-07 04:52:41 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-07-07 04:52:41 +0800 |
commit | 941a7e5a30f2a35eea69974a45fc516a4b3d5397 (patch) | |
tree | 3ec9427b3b9c14314c68aebeec57ea7691df4080 /camel/camel-folder-summary.c | |
parent | 7ce3b0a7290417c35721fa4850a0d06875109e40 (diff) | |
download | gsoc2013-evolution-941a7e5a30f2a35eea69974a45fc516a4b3d5397.tar.gz gsoc2013-evolution-941a7e5a30f2a35eea69974a45fc516a4b3d5397.tar.zst gsoc2013-evolution-941a7e5a30f2a35eea69974a45fc516a4b3d5397.zip |
Parse for more header information to allow message threading in IMAP.
2000-07-06 Jeffrey Stedfast <fejj@helixcode.com>
* providers/imap/camel-imap-folder.c (imap_get_summary): Parse for
more header information to allow message threading in IMAP.
(imap_get_message_info): Same.
* camel-folder-summary.c: Renamed summary_format_* to
camel_summary_format_* and moved them into public scope.
svn path=/trunk/; revision=3925
Diffstat (limited to 'camel/camel-folder-summary.c')
-rw-r--r-- | camel/camel-folder-summary.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c index 18605fb551..1558616653 100644 --- a/camel/camel-folder-summary.c +++ b/camel/camel-folder-summary.c @@ -906,8 +906,8 @@ static CamelMessageContentInfo * content_info_new_from_parser(CamelFolderSummary return ci; } -static char * -summary_format_address(struct _header_raw *h, const char *name) +char * +camel_summary_format_address(struct _header_raw *h, const char *name) { struct _header_address *addr; const char *text; @@ -924,8 +924,8 @@ summary_format_address(struct _header_raw *h, const char *name) return ret; } -static char * -summary_format_string(struct _header_raw *h, const char *name) +char * +camel_summary_format_string(struct _header_raw *h, const char *name) { const char *text; @@ -947,10 +947,10 @@ message_info_new(CamelFolderSummary *s, struct _header_raw *h) mi = g_malloc0(s->message_info_size); - mi->subject = summary_format_string(h, "subject"); - mi->from = summary_format_address(h, "from"); - mi->to = summary_format_address(h, "to"); - mi->cc = summary_format_address(h, "cc"); + mi->subject = camel_summary_format_string(h, "subject"); + mi->from = camel_summary_format_address(h, "from"); + mi->to = camel_summary_format_address(h, "to"); + mi->cc = camel_summary_format_address(h, "cc"); mi->user_flags = NULL; mi->date_sent = header_decode_date(header_raw_find(&h, "date", NULL), NULL); received = header_raw_find(&h, "received", NULL); |