aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/mbox/camel-mbox-parser.h
diff options
context:
space:
mode:
authorbertrand <bertrand@helixcode.com>2000-01-17 13:25:36 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-01-17 13:25:36 +0800
commit79cda322e2840620d98411c9d7ec9226c365b922 (patch)
tree5da152767dff8836c01d41f17cb9d3e2d7693c29 /camel/providers/mbox/camel-mbox-parser.h
parent21cc1d3aeeb1c2b44d1f2e40f39369f5ba8222a4 (diff)
downloadgsoc2013-evolution-79cda322e2840620d98411c9d7ec9226c365b922.tar
gsoc2013-evolution-79cda322e2840620d98411c9d7ec9226c365b922.tar.gz
gsoc2013-evolution-79cda322e2840620d98411c9d7ec9226c365b922.tar.bz2
gsoc2013-evolution-79cda322e2840620d98411c9d7ec9226c365b922.tar.lz
gsoc2013-evolution-79cda322e2840620d98411c9d7ec9226c365b922.tar.xz
gsoc2013-evolution-79cda322e2840620d98411c9d7ec9226c365b922.tar.zst
gsoc2013-evolution-79cda322e2840620d98411c9d7ec9226c365b922.zip
A bunch of new funcs to handle x-evolution private header field.
2000-01-17 bertrand <bertrand@helixcode.com> * 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
Diffstat (limited to 'camel/providers/mbox/camel-mbox-parser.h')
-rw-r--r--camel/providers/mbox/camel-mbox-parser.h10
1 files changed, 7 insertions, 3 deletions
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,