aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.h
diff options
context:
space:
mode:
authorNotZed <notzed@zedzone.helixcode.com>2000-02-14 13:39:02 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-02-14 13:39:02 +0800
commitaeaa2ed70043e607e1da431d8f33726590f4c83b (patch)
tree6b017340f52b51b3eb55c0c847089ec5ca505263 /camel/camel-folder.h
parentddcfc699c72ee253307f2939492eb469beba3834 (diff)
downloadgsoc2013-evolution-aeaa2ed70043e607e1da431d8f33726590f4c83b.tar
gsoc2013-evolution-aeaa2ed70043e607e1da431d8f33726590f4c83b.tar.gz
gsoc2013-evolution-aeaa2ed70043e607e1da431d8f33726590f4c83b.tar.bz2
gsoc2013-evolution-aeaa2ed70043e607e1da431d8f33726590f4c83b.tar.lz
gsoc2013-evolution-aeaa2ed70043e607e1da431d8f33726590f4c83b.tar.xz
gsoc2013-evolution-aeaa2ed70043e607e1da431d8f33726590f4c83b.tar.zst
gsoc2013-evolution-aeaa2ed70043e607e1da431d8f33726590f4c83b.zip
New file, implements the search api for mbox folders.
2000-02-13 NotZed <notzed@zedzone.helixcode.com> * providers/mbox/camel-mbox-search.c: New file, implements the search api for mbox folders. * providers/mbox/Makefile.am: Link with ibex. * camel-folder.c (camel_folder_has_search_capability): Api additions. (camel_folder_search_by_expression): Ditto. 2000-02-12 NotZed <notzed@zedzone.helixcode.com> * providers/mbox/camel-mbox-folder.c (_set_name): Setup index filename as well. (_init_with_store): Init index filename. Hmm, none of these names ever seem to get free'd (FIXME?) * providers/mbox/camel-mbox-folder.h: Add index file name. 2000-02-12 NotZed <notzed@helixcode.com> * camel-folder.h: Add folder search functions. ** Created ChangeLog just for camel ** - refer to ../ChangeLog for changes prior to this date. svn path=/trunk/; revision=1772
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r--camel/camel-folder.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index d9715c4d54..2a7b0caced 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -81,6 +81,7 @@ struct _CamelFolder
gboolean has_uid_capability;
+ gboolean has_search_capability;
};
@@ -200,6 +201,9 @@ typedef struct {
GList * (*get_uid_list) (CamelFolder *folder,
CamelException *ex);
+ gboolean (*has_search_capability) (CamelFolder *folder, CamelException *ex);
+ GList *(*search_by_expression) (CamelFolder *folder, const char *expression, CamelException *ex);
+
} CamelFolderClass;
@@ -280,10 +284,12 @@ const gchar * camel_folder_get_message_uid (CamelFolder *folder, CamelMimeMessag
CamelMimeMessage *camel_folder_get_message_by_uid (CamelFolder *folder, const gchar *uid, CamelException *ex);
GList *camel_folder_get_uid_list (CamelFolder *folder, CamelException *ex);
-
-
-
-
+/* search api */
+gboolean camel_folder_has_search_capability (CamelFolder *folder,
+ CamelException *ex);
+GList *camel_folder_search_by_expression (CamelFolder *folder,
+ const char *expression,
+ CamelException *ex);
#ifdef __cplusplus
}