From 79cda322e2840620d98411c9d7ec9226c365b922 Mon Sep 17 00:00:00 2001 From: bertrand Date: Mon, 17 Jan 2000 05:25:36 +0000 Subject: A bunch of new funcs to handle x-evolution private header field. 2000-01-17 bertrand * camel/providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev): (copy_file_chunk): (camel_mbox_xev_write_header_content): (camel_mbox_xev_parse_header_content): (string_to_flag): (flag_to_string): (string_to_uid): (uid_to_string): A bunch of new funcs to handle x-evolution private header field. Various others modifications and fixes. svn path=/trunk/; revision=1576 --- camel/providers/mbox/camel-mbox-parser.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'camel/providers/mbox/camel-mbox-parser.h') diff --git a/camel/providers/mbox/camel-mbox-parser.h b/camel/providers/mbox/camel-mbox-parser.h index b8d2e93dc6..a4b3af9aff 100644 --- a/camel/providers/mbox/camel-mbox-parser.h +++ b/camel/providers/mbox/camel-mbox-parser.h @@ -28,8 +28,8 @@ typedef struct { - guint message_position; - guint size; + glong message_position; + glong size; gchar *from; gchar *date; gchar *subject; @@ -37,7 +37,11 @@ typedef struct { gchar *priority; gchar *references; gchar *body_summary; + gshort end_of_headers_offset; + gchar *x_evolution; + gshort x_evolution_offset; + /* gshort x_evolution_length; */ } CamelMboxParserMessageInfo; @@ -48,7 +52,7 @@ typedef void camel_mbox_preparser_status_callback (double percentage_done, gpoin GArray * camel_mbox_parse_file (int fd, const gchar *message_delimiter, - guint start_position, + glong start_position, gboolean get_message_summary, camel_mbox_preparser_status_callback *status_callback, double status_interval, -- cgit v1.2.3