From ef53113a39de1b26ea93e13cfe473b5846dffdaa Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 10 May 2011 15:08:25 -0400 Subject: Add e_mail_folder_get_multiple_messages(). Replaces mail_get_messages() from mail-ops.c. --- mail/e-mail-folder-utils.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'mail/e-mail-folder-utils.h') 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); -- cgit