aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-message.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-02-27 03:56:58 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-02-27 03:56:58 +0800
commita596227e1c1b3225751a276e9efab60e9eea4110 (patch)
treeca810c809d303abf0c4d94d37b888b51124a07a3 /camel/camel-mime-message.h
parent43f2a52819c061bd0df80388d3877df508590485 (diff)
downloadgsoc2013-evolution-a596227e1c1b3225751a276e9efab60e9eea4110.tar
gsoc2013-evolution-a596227e1c1b3225751a276e9efab60e9eea4110.tar.gz
gsoc2013-evolution-a596227e1c1b3225751a276e9efab60e9eea4110.tar.bz2
gsoc2013-evolution-a596227e1c1b3225751a276e9efab60e9eea4110.tar.lz
gsoc2013-evolution-a596227e1c1b3225751a276e9efab60e9eea4110.tar.xz
gsoc2013-evolution-a596227e1c1b3225751a276e9efab60e9eea4110.tar.zst
gsoc2013-evolution-a596227e1c1b3225751a276e9efab60e9eea4110.zip
Made thread-safe and moved to above the test code.
2001-02-26 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c: Made thread-safe and moved to above the test code. * camel-mime-message.c (camel_mime_message_init): Set the message_id to NULL. (camel_mime_message_finalize): Free the message_id. (camel_mime_message_set_message_id): New function to set the Message-Id. (camel_mime_message_get_message_id): New function to get the Message-Id. (process_header): Decode the message-id. svn path=/trunk/; revision=8393
Diffstat (limited to 'camel/camel-mime-message.h')
-rw-r--r--camel/camel-mime-message.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/camel/camel-mime-message.h b/camel/camel-mime-message.h
index b386632a86..0ab406c27e 100644
--- a/camel/camel-mime-message.h
+++ b/camel/camel-mime-message.h
@@ -65,6 +65,8 @@ struct _CamelMimeMessage
char *subject;
+ char *message_id;
+
CamelInternetAddress *reply_to;
CamelInternetAddress *from;
@@ -93,6 +95,9 @@ time_t camel_mime_message_get_date (CamelMimeMess
int *offset);
time_t camel_mime_message_get_date_received (CamelMimeMessage *mime_message,
int *offset);
+void camel_mime_message_set_message_id (CamelMimeMessage *mime_message,
+ const char *message_id);
+const char *camel_mime_message_get_message_id (CamelMimeMessage *mime_message);
void camel_mime_message_set_reply_to (CamelMimeMessage *mime_message,
const CamelInternetAddress *reply_to);
const CamelInternetAddress *camel_mime_message_get_reply_to (CamelMimeMessage *mime_message);