aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.h
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-04-14 22:59:36 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-04-14 22:59:36 +0800
commit8a6e09d1cfc5ae369b99dc5af13f9d8519fd3f5d (patch)
tree1546f241e42bd6864b8f48e402cb9d2fbfc16029 /mail/mail-ops.h
parentd6ca198aee8a30d691dfe38d2d86fcf7ee5ab327 (diff)
downloadgsoc2013-evolution-8a6e09d1cfc5ae369b99dc5af13f9d8519fd3f5d.tar.gz
gsoc2013-evolution-8a6e09d1cfc5ae369b99dc5af13f9d8519fd3f5d.tar.zst
gsoc2013-evolution-8a6e09d1cfc5ae369b99dc5af13f9d8519fd3f5d.zip
** Fix for bug #270406
2008-04-14 Milan Crha <mcrha@redhat.com> ** Fix for bug #270406 * em-folder-properties.c: (struct _prop_data), (emfp_free), (add_numbered_row), (emfp_get_folder_item), (emfp_dialog_got_folder_quota), (emfp_dialog_got_folder): Retrieve quota information for a folder and show it in a dialog. * mail-ops.h: (mail_get_folder_quota): * mail-ops.c: (struct _get_quota_msg), (get_quota_desc), (get_quota_exec), (get_quota_done), (get_quota_free), (MailMsgInfo get_quota_info), (mail_get_folder_quota): New operation to get folder's quota information. svn path=/trunk/; revision=35366
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 8b532e896f..e60b8d48bb 100644
--- a/mail/mail-ops.h
+++ b/mail/mail-ops.h
@@ -73,6 +73,11 @@ int mail_get_folder (const char *uri, guint32 flags,
void (*done) (char *uri, CamelFolder *folder, void *data), void *data,
MailMsgDispatchFunc dispatch);
+/* get quota information for a folder */
+int mail_get_folder_quota (CamelFolder *folder,
+ void (*done)(CamelFolder *folder, CamelFolderQuotaInfo *quota, void *data),
+ void *data, MailMsgDispatchFunc dispatch);
+
/* and for a store */
int mail_get_store (const char *uri, CamelOperation *op,
void (*done) (char *uri, CamelStore *store, void *data), void *data);