From 69912fc470a36f52887f18cf8c633f34aaa34fb5 Mon Sep 17 00:00:00 2001 From: Bertrand Guiheneuf Date: Thu, 27 May 1999 21:37:01 +0000 Subject: rewrite message obtained via parsing into a file. Actually, it works * tests/test2.c (main): rewrite message obtained via parsing into a file. Actually, it works pretty well :)) * camel/camel-mime-message.c (_set_recipient_list_from_string): create recipient list form a comma separated string. (_parse_header_pair): added recipient lists parsing. * camel/camel-mime-part.c (_parse_header_pair): new (protected) method. Parse a head pair and decides what to do with it. (_add_header): Call in _parse_header_pair * camel/camel-mime-message.c (_parse_header_pair): overload header parsing MimePart mthod. * camel/gstring-util.c (g_string_split): new func: split a gstring into a GList of substring. svn path=/trunk/; revision=950 --- camel/camel-mime-message.h | 1 + 1 file changed, 1 insertion(+) (limited to 'camel/camel-mime-message.h') diff --git a/camel/camel-mime-message.h b/camel/camel-mime-message.h index b00f723f21..73d1cb9388 100644 --- a/camel/camel-mime-message.h +++ b/camel/camel-mime-message.h @@ -110,6 +110,7 @@ GtkType camel_mime_message_get_type (void); /* public methods */ CamelMimeMessage *camel_mime_message_new_with_session (CamelSession *session); + void camel_mime_message_set_received_date (CamelMimeMessage *mime_message, GString *received_date); GString *camel_mime_message_get_received_date (CamelMimeMessage *mime_message); GString *camel_mime_message_get_sent_date (CamelMimeMessage *mime_message); -- cgit v1.2.3