aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
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);
+