diff options
author | NotZed <NotZed@HelixCode.com> | 2000-03-24 03:57:31 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-03-24 03:57:31 +0800 |
commit | 6a766351410912acde101b6fa01488338efca5c8 (patch) | |
tree | c07e09a90d70b9438999f698c3d82682fbe7d857 /camel/providers/mbox/camel-mbox-search.h | |
parent | d2e39f53aef475f9747aae84dcb22baf26c72b78 (diff) | |
download | gsoc2013-evolution-6a766351410912acde101b6fa01488338efca5c8.tar gsoc2013-evolution-6a766351410912acde101b6fa01488338efca5c8.tar.gz gsoc2013-evolution-6a766351410912acde101b6fa01488338efca5c8.tar.bz2 gsoc2013-evolution-6a766351410912acde101b6fa01488338efca5c8.tar.lz gsoc2013-evolution-6a766351410912acde101b6fa01488338efca5c8.tar.xz gsoc2013-evolution-6a766351410912acde101b6fa01488338efca5c8.tar.zst gsoc2013-evolution-6a766351410912acde101b6fa01488338efca5c8.zip |
Added async search api.
2000-03-22 NotZed <NotZed@HelixCode.com>
* camel-folder.[ch]: Added async search api.
* providers/mbox/camel-mbox-search.c
(camel_mbox_folder_search_by_expression): Changed to use an
asynchronous interface.
(camel_mbox_folder_search_cancel): Cancel function for async
interface.
svn path=/trunk/; revision=2155
Diffstat (limited to 'camel/providers/mbox/camel-mbox-search.h')
-rw-r--r-- | camel/providers/mbox/camel-mbox-search.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/camel/providers/mbox/camel-mbox-search.h b/camel/providers/mbox/camel-mbox-search.h index d232624386..d3fe328a2c 100644 --- a/camel/providers/mbox/camel-mbox-search.h +++ b/camel/providers/mbox/camel-mbox-search.h @@ -2,9 +2,13 @@ #ifndef _CAMEL_MBOX_SEARCH_H #define _CAMEL_MBOX_SEARCH_H +#include <glib.h> #include "camel-mbox-folder.h" -GList *camel_mbox_folder_search_by_expression(CamelFolder *folder, const char *expression, CamelException *ex); +int camel_mbox_folder_search_by_expression(CamelFolder *folder, const char *expression, + CamelSearchFunc *func, void *data, CamelException *ex); +gboolean camel_mbox_folder_search_complete(CamelFolder *folder, int searchid, gboolean wait, CamelException *ex); +void camel_mbox_folder_search_cancel(CamelFolder *folder, int searchid, CamelException *ex); #endif /* ! _CAMEL_MBOX_SEARCH_H */ |