From 21c698ec023314751227247e4bef1d68a78a21ea Mon Sep 17 00:00:00 2001 From: bertrand Date: Thu, 13 Jan 2000 04:13:12 +0000 Subject: 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. svn path=/trunk/; revision=1565 --- ChangeLog | 6 ++++++ camel/providers/mbox/camel-mbox-parser.c | 2 +- camel/providers/mbox/camel-mbox-parser.h | 10 ++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 69b78f1086..7651e283f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 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. + * tests/Makefile.am (noinst_PROGRAMS): remove non updated tests from the build process. 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); + -- cgit v1.2.3