aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorbertrand <bertrand@helixcode.com>2000-01-13 12:13:12 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-01-13 12:13:12 +0800
commit21c698ec023314751227247e4bef1d68a78a21ea (patch)
tree9adc9d14c533949f8b02ad150c4c3e17ed24a880 /camel
parent095c53bace7844fbdb0f2053f7facdc609a1bb57 (diff)
downloadgsoc2013-evolution-21c698ec023314751227247e4bef1d68a78a21ea.tar.gz
gsoc2013-evolution-21c698ec023314751227247e4bef1d68a78a21ea.tar.zst
gsoc2013-evolution-21c698ec023314751227247e4bef1d68a78a21ea.zip
Added the prototype of camel_mbox_parse_file.
2000-01-12 bertrand <bertrand@helixcode.com> * camel/providers/mbox/camel-mbox-parser.h (camel_mbox_parse_file): Added the prototype of camel_mbox_parse_file. * camel/providers/mbox/camel-mbox-parser.c (camel_mbox_parse_file): updated in-line documentation. Evolution is now in a compilable state. svn path=/trunk/; revision=1565
Diffstat (limited to 'camel')
-rw-r--r--camel/providers/mbox/camel-mbox-parser.c2
-rw-r--r--camel/providers/mbox/camel-mbox-parser.h10
2 files changed, 11 insertions, 1 deletions
diff --git a/camel/providers/mbox/camel-mbox-parser.c b/camel/providers/mbox/camel-mbox-parser.c
index 1786c32a2a..1e9b2abe3d 100644
--- a/camel/providers/mbox/camel-mbox-parser.c
+++ b/camel/providers/mbox/camel-mbox-parser.c
@@ -458,7 +458,7 @@ read_message_begining (CamelMboxPreParser *parser, gchar **message_summary)
* body. The @get_message_summary parameter allows to enable or disable this option.
*
*
- * Return value:
+ * Return value: An array of CamelMboxParserMessageInfo containing the informations on each message parsed in the file
**/
GArray *
camel_mbox_parse_file (int fd,
diff --git a/camel/providers/mbox/camel-mbox-parser.h b/camel/providers/mbox/camel-mbox-parser.h
index 58f8cad3a2..b8d2e93dc6 100644
--- a/camel/providers/mbox/camel-mbox-parser.h
+++ b/camel/providers/mbox/camel-mbox-parser.h
@@ -44,3 +44,13 @@ typedef struct {
typedef void camel_mbox_preparser_status_callback (double percentage_done, gpointer user_data);
+
+GArray *
+camel_mbox_parse_file (int fd,
+ const gchar *message_delimiter,
+ guint start_position,
+ gboolean get_message_summary,
+ camel_mbox_preparser_status_callback *status_callback,
+ double status_interval,
+ gpointer user_data);
+