diff options
author | bertrand <bertrand@helixcode.com> | 2000-01-12 10:09:50 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 2000-01-12 10:09:50 +0800 |
commit | c6ff08354321779cfa5995ee768b6f17a32847c5 (patch) | |
tree | 86a3766cb1b518fe037664c4e144ca3e3097af39 /camel/providers/mbox/camel-mbox-parser.h | |
parent | edcdb2068858eebca3c23978c91b827a077c02a1 (diff) | |
download | gsoc2013-evolution-c6ff08354321779cfa5995ee768b6f17a32847c5.tar.gz gsoc2013-evolution-c6ff08354321779cfa5995ee768b6f17a32847c5.tar.zst gsoc2013-evolution-c6ff08354321779cfa5995ee768b6f17a32847c5.zip |
Backup of the first clean and working mbox file parser. It both find the
2000-01-11 bertrand <bertrand@helixcode.com>
Backup of the first clean and working mbox file
parser. It both find the message and pre-parse
the message, that is, retrieve some key headers,
and the first lines of the body.
svn path=/trunk/; revision=1556
Diffstat (limited to 'camel/providers/mbox/camel-mbox-parser.h')
-rw-r--r-- | camel/providers/mbox/camel-mbox-parser.h | 21 |
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); |