From f8bfbef0a705629ae2aefa71dc06b7d64fbd5274 Mon Sep 17 00:00:00 2001 From: NotZed Date: Thu, 4 May 2000 05:45:30 +0000 Subject: No, we're not going to have g_strcasecmp for no good reason, not even if its slipped in with no changelog. 2000-05-04 NotZed * providers/mbox/camel-mbox-summary.c: Yes, and anotherone. * camel-mime-utils.c: And another one. * camel-mime-part.c: And another one. * camel-mime-part-utils.c: And another one. * camel-folder-search.c: And another one. * camel-mime-parser.c: Reverted a change wihtout a ChangeLog entry. 2000-05-04 NotZed * camel-folder-summary.[hc]: Yes, CamelFolderSummary is back ... ... re-usable class to summarise and index any stream or message and to manage/load/save the created summaries. * camel-folder.c: Include string.h to kill a warning. 2000-05-03 NotZed * camel-folder.h: Added pos/bodypos/endpos to the basic message content info object. Size to be removed? Moved the messageconentinfo and messageinfo back to camel-folder-summary.h. * camel-mime-filter-index.c (camel_mime_filter_index_set_ibex): New function to (re)set the index to use on a filter. * camel-mime-parser.c (camel_mime_parser_scan_from): Whole bunch of inline docs. (camel_mime_parser_drop_step): New function to drop a state from the parser. Needs more testing. svn path=/trunk/; revision=2789 --- camel/camel-mime-filter-index.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'camel/camel-mime-filter-index.c') diff --git a/camel/camel-mime-filter-index.c b/camel/camel-mime-filter-index.c index 24c223d4e5..53a9f72920 100644 --- a/camel/camel-mime-filter-index.c +++ b/camel/camel-mime-filter-index.c @@ -163,4 +163,16 @@ void camel_mime_filter_index_set_name (CamelMimeFilterIndex *mf, char *name) mf->name = g_strdup(name); } +void camel_mime_filter_index_set_ibex (CamelMimeFilterIndex *mf, ibex *index) +{ + if (mf->index) { + char *out; + size_t outlen, outspace; + + camel_mime_filter_complete((CamelMimeFilter *)mf, "", 0, 0, &out, &outlen, &outspace); + } + mf->index = index; +} + + -- cgit v1.2.3