aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-folder-utils.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-11 03:08:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-12 00:58:20 +0800
commitef53113a39de1b26ea93e13cfe473b5846dffdaa (patch)
tree8e6e93ac3b32fe8d761f71877ceeb0218c8cd55f /mail/e-mail-folder-utils.h
parentf9a3112069857536ec14921746f506ffae5bd64d (diff)
downloadgsoc2013-evolution-ef53113a39de1b26ea93e13cfe473b5846dffdaa.tar
gsoc2013-evolution-ef53113a39de1b26ea93e13cfe473b5846dffdaa.tar.gz
gsoc2013-evolution-ef53113a39de1b26ea93e13cfe473b5846dffdaa.tar.bz2
gsoc2013-evolution-ef53113a39de1b26ea93e13cfe473b5846dffdaa.tar.lz
gsoc2013-evolution-ef53113a39de1b26ea93e13cfe473b5846dffdaa.tar.xz
gsoc2013-evolution-ef53113a39de1b26ea93e13cfe473b5846dffdaa.tar.zst
gsoc2013-evolution-ef53113a39de1b26ea93e13cfe473b5846dffdaa.zip
Add e_mail_folder_get_multiple_messages().
Replaces mail_get_messages() from mail-ops.c.
Diffstat (limited to 'mail/e-mail-folder-utils.h')
-rw-r--r--mail/e-mail-folder-utils.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/mail/e-mail-folder-utils.h b/mail/e-mail-folder-utils.h
index 0d2f0ca0f9..db504e85d3 100644
--- a/mail/e-mail-folder-utils.h
+++ b/mail/e-mail-folder-utils.h
@@ -44,6 +44,22 @@ gboolean e_mail_folder_append_message_finish
GAsyncResult *result,
gchar **appended_uid,
GError **error);
+GHashTable * e_mail_folder_get_multiple_messages_sync
+ (CamelFolder *folder,
+ GPtrArray *message_uids,
+ GCancellable *cancellable,
+ GError **error);
+void e_mail_folder_get_multiple_messages
+ (CamelFolder *folder,
+ GPtrArray *message_uids,
+ gint io_priority,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+GHashTable * e_mail_folder_get_multiple_messages_finish
+ (CamelFolder *folder,
+ GAsyncResult *result,
+ GError **error);
gchar * e_mail_folder_uri_build (CamelStore *store,
const gchar *folder_name);