aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-tools.h')
-rw-r--r--mail/mail-tools.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/mail/mail-tools.h b/mail/mail-tools.h
index 01c800fbd9..e746e9f5ec 100644
--- a/mail/mail-tools.h
+++ b/mail/mail-tools.h
@@ -27,10 +27,15 @@
#include <camel/camel.h>
/* Get the "inbox" for a url (uses global session) */
-CamelFolder *mail_tool_get_inbox (const gchar *url, GError **error);
+CamelFolder * mail_tool_get_inbox (const gchar *url,
+ GCancellable *cancellable,
+ GError **error);
/* Get the "trash" for a url (uses global session) */
-CamelFolder *mail_tool_get_trash (const gchar *url, gint connect, GError **error);
+CamelFolder * mail_tool_get_trash (const gchar *url,
+ gint connect,
+ GCancellable *cancellable,
+ GError **error);
/* Does a camel_movemail into the local movemail folder
* and returns the path to the new movemail folder that was created. which shoudl be freed later */
@@ -45,8 +50,11 @@ gchar *mail_tool_generate_forward_subject (CamelMimeMessage *msg);
/* Make a message into an attachment */
CamelMimePart *mail_tool_make_message_attachment (CamelMimeMessage *message);
-/* Parse the ui into a real CamelFolder any way we know how. */
-CamelFolder *mail_tool_uri_to_folder (const gchar *uri, guint32 flags, GError **error);
+/* Parse the URI into a real CamelFolder any way we know how. */
+CamelFolder * mail_tool_uri_to_folder (const gchar *uri,
+ guint32 flags,
+ GCancellable *cancellable,
+ GError **error);
GHashTable *mail_lookup_url_table (CamelMimeMessage *mime_message);