aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-mt.h')
-rw-r--r--mail/mail-mt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-mt.h b/mail/mail-mt.h
index b6d402199f..23baf60a56 100644
--- a/mail/mail-mt.h
+++ b/mail/mail-mt.h
@@ -60,6 +60,11 @@ void mail_msg_wait(unsigned int msgid);
void mail_msg_wait_all(void);
int mail_msg_active(unsigned int msgid);
+/* To implement the stop button */
+void *mail_cancel_hook_add(GDestroyNotify func, void *data);
+void mail_cancel_hook_remove(void *handle);
+void mail_cancel_all(void);
+
/* request a string/password */
char *mail_get_password (CamelService *service, const char *prompt,
gboolean secret, gboolean *cache);