From 5806361a9ccb5b6aa5371696a0d73c44510edaac Mon Sep 17 00:00:00 2001 From: bertrand Date: Thu, 13 Jan 2000 04:13:12 +0000 Subject: [PATCH] Added the prototype of camel_mbox_parse_file. 2000-01-12 bertrand * 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. --- camel/providers/mbox/camel-mbox-parser.c | 2 +- camel/providers/mbox/camel-mbox-parser.h | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/camel/providers/mbox/camel-mbox-parser.c b/camel/providers/mbox/camel-mbox-parser.c index 1786c32..1e9b2ab 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 58f8cad..b8d2e93 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); + -- 2.7.4