aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-05-19 20:44:32 +0800
committerDan Winship <danw@src.gnome.org>2003-05-19 20:44:32 +0800
commit6784da1b28b5433943c3edc5520bb273b46f73b6 (patch)
treef874bf3795a4063b71434feee2a5869d12b9164d /mail/mail-ops.h
parent5b0ded9bd44ac6001ed9a74773abc0c5cd0ab21c (diff)
downloadgsoc2013-evolution-6784da1b28b5433943c3edc5520bb273b46f73b6.tar
gsoc2013-evolution-6784da1b28b5433943c3edc5520bb273b46f73b6.tar.gz
gsoc2013-evolution-6784da1b28b5433943c3edc5520bb273b46f73b6.tar.bz2
gsoc2013-evolution-6784da1b28b5433943c3edc5520bb273b46f73b6.tar.lz
gsoc2013-evolution-6784da1b28b5433943c3edc5520bb273b46f73b6.tar.xz
gsoc2013-evolution-6784da1b28b5433943c3edc5520bb273b46f73b6.tar.zst
gsoc2013-evolution-6784da1b28b5433943c3edc5520bb273b46f73b6.zip
New async "empty trash" op.
* mail-ops.c (mail_empty_trash): New async "empty trash" op. * mail-callbacks.c (empty_trash): Use it rather than requiring that mail_tool_get_vtrash() work without blocking. #43091 svn path=/trunk/; revision=21243
Diffstat (limited to 'mail/mail-ops.h')
-rw-r--r--mail/mail-ops.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-ops.h b/mail/mail-ops.h
index e2024108cc..49dd8d5d85 100644
--- a/mail/mail-ops.h
+++ b/mail/mail-ops.h
@@ -37,6 +37,7 @@ extern "C" {
#include "evolution-storage.h" /*EvolutionStorage */
#include "e-util/e-msgport.h"
+#include "e-util/e-account.h"
void mail_append_mail (CamelFolder *folder, CamelMimeMessage *message, CamelMessageInfo *info,
void (*done)(CamelFolder *folder, CamelMimeMessage *msg, CamelMessageInfo *info, int ok,
@@ -88,6 +89,10 @@ void mail_expunge_folder (CamelFolder *folder,
void (*done) (CamelFolder *folder, void *data),
void *data);
+void mail_empty_trash (EAccount *account,
+ void (*done) (EAccount *account, void *data),
+ void *data);
+
/* get folder info asynchronously */
int mail_get_folderinfo (CamelStore *store,
void (*done)(CamelStore *store, CamelFolderInfo *info, void *data),