aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-08 05:13:41 +0800
committerDan Winship <danw@src.gnome.org>2000-07-08 05:13:41 +0800
commit011e287e7d36126a6fbf88992c14a9b4c0344739 (patch)
treecf4415f66ef195463161874d055686b5ea79621e /camel/camel-folder.h
parent665da2c706a462d92c70fad3e41974fe5f4d8c30 (diff)
downloadgsoc2013-evolution-011e287e7d36126a6fbf88992c14a9b4c0344739.tar
gsoc2013-evolution-011e287e7d36126a6fbf88992c14a9b4c0344739.tar.gz
gsoc2013-evolution-011e287e7d36126a6fbf88992c14a9b4c0344739.tar.bz2
gsoc2013-evolution-011e287e7d36126a6fbf88992c14a9b4c0344739.tar.lz
gsoc2013-evolution-011e287e7d36126a6fbf88992c14a9b4c0344739.tar.xz
gsoc2013-evolution-011e287e7d36126a6fbf88992c14a9b4c0344739.tar.zst
gsoc2013-evolution-011e287e7d36126a6fbf88992c14a9b4c0344739.zip
Make this return a GPtrArray rather than a GList.
* camel-folder.c (camel_folder_search_by_expression): Make this return a GPtrArray rather than a GList. * camel-folder-search.c (camel_folder_search_execute_expression): * providers/imap/camel-imap-folder.c (imap_search_by_expression): * providers/mbox/camel-mbox-folder.c (mbox_search_by_expression): * providers/nntp/camel-nntp-folder.c (nntp_search_by_expression): Update to return a GPtrArray rather than a GList. svn path=/trunk/; revision=3958
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r--camel/camel-folder.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index d49a7f7650..a7fc8fa89c 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -159,9 +159,9 @@ typedef struct {
gboolean (*has_search_capability) (CamelFolder *folder);
- GList * (*search_by_expression) (CamelFolder *folder,
- const char *expression,
- CamelException *ex);
+ GPtrArray * (*search_by_expression) (CamelFolder *folder,
+ const char *expression,
+ CamelException *ex);
const CamelMessageInfo * (*get_message_info) (CamelFolder *,
const char *uid);
@@ -203,8 +203,6 @@ CamelFolder * camel_folder_get_parent_folder (CamelFolder *folder,
CamelException *ex);
CamelStore * camel_folder_get_parent_store (CamelFolder *folder,
CamelException *ex);
-GList * camel_folder_list_subfolders (CamelFolder *folder,
- CamelException *ex);
/* delete operations */
@@ -285,9 +283,11 @@ void camel_folder_free_uids (CamelFolder *folder,
/* search api */
gboolean camel_folder_has_search_capability (CamelFolder *folder);
-GList * camel_folder_search_by_expression (CamelFolder *folder, const char *expression, CamelException *ex);
+GPtrArray * camel_folder_search_by_expression (CamelFolder *folder,
+ const char *expression,
+ CamelException *ex);
-/* summary info. FIXME: rename this slightly? */
+/* summary info */
const CamelMessageInfo *camel_folder_get_message_info (CamelFolder *summary,
const char *uid);