aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/mbox/camel-mbox-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/mbox/camel-mbox-parser.h')
-rw-r--r--camel/providers/mbox/camel-mbox-parser.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/camel/providers/mbox/camel-mbox-parser.h b/camel/providers/mbox/camel-mbox-parser.h
index 19b7a42dc8..994e5d85e3 100644
--- a/camel/providers/mbox/camel-mbox-parser.h
+++ b/camel/providers/mbox/camel-mbox-parser.h
@@ -21,5 +21,26 @@
* USA
*/
+#include <glib.h>
+#include "camel-log.h"
+#include "camel-exception.h"
+typedef struct {
+
+ guint message_position;
+ gchar *from;
+ gchar *date;
+ gchar *subject;
+ gchar *status;
+ gchar *priority;
+ gchar *references;
+ gchar *body_summary;
+
+} CamelMboxParserMessageInfo;
+
+
+GArray * camel_mbox_find_message_positions (int fd,
+ const gchar *message_delimiter,
+ gint first_position,
+ CamelException *ex);