From c6fc4e27a953c5213cff8400ec8e40f6f051e914 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Mon, 25 Mar 2002 12:11:44 +0000 Subject: When we add a new name, up all of the cache limits, because we're probably 2002-03-25 Not Zed * camel-text-index.c (text_index_add_name): When we add a new name, up all of the cache limits, because we're probably going to be adding more. (text_index_sync): Drop the cache limits back down again, we dont need them when looking words up. ** MERGE camel_index branch. * camel-text-index.[ch]: Added files i forgot to add (eep nearly lost all this work!) * camel-block-file.c (sync_nolock): Fix an infinite loop in syncing. svn path=/trunk/; revision=16242 --- camel/camel-mime-filter-index.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'camel/camel-mime-filter-index.h') diff --git a/camel/camel-mime-filter-index.h b/camel/camel-mime-filter-index.h index ae8ef60801..fa1f49e830 100644 --- a/camel/camel-mime-filter-index.h +++ b/camel/camel-mime-filter-index.h @@ -29,7 +29,6 @@ extern "C" { #endif /* __cplusplus */ #include -#include #define CAMEL_MIME_FILTER_INDEX(obj) CAMEL_CHECK_CAST (obj, camel_mime_filter_index_get_type (), CamelMimeFilterIndex) #define CAMEL_MIME_FILTER_INDEX_CLASS(klass) CAMEL_CHECK_CLASS_CAST (klass, camel_mime_filter_index_get_type (), CamelMimeFilterIndexClass) @@ -42,8 +41,8 @@ struct _CamelMimeFilterIndex { struct _CamelMimeFilterIndexPrivate *priv; - ibex *index; - char *name; + struct _CamelIndex *index; + struct _CamelIndexName *name; }; struct _CamelMimeFilterIndexClass { @@ -53,11 +52,11 @@ struct _CamelMimeFilterIndexClass { guint camel_mime_filter_index_get_type (void); CamelMimeFilterIndex *camel_mime_filter_index_new (void); -CamelMimeFilterIndex *camel_mime_filter_index_new_ibex (ibex *); +CamelMimeFilterIndex *camel_mime_filter_index_new_index(struct _CamelIndex *); /* Set the match name for any indexed words */ -void camel_mime_filter_index_set_name (CamelMimeFilterIndex *, char *); -void camel_mime_filter_index_set_ibex (CamelMimeFilterIndex *mf, ibex *index); +void camel_mime_filter_index_set_name (CamelMimeFilterIndex *, struct _CamelIndexName *name); +void camel_mime_filter_index_set_index (CamelMimeFilterIndex *mf, struct _CamelIndex *index); #ifdef __cplusplus } -- cgit v1.2.3