[dovecot-cvs] dovecot/src/plugins/quota quota-storage.c,1.16,1.17

tss at dovecot.org tss at dovecot.org
Tue Apr 17 19:41:08 EEST 2007


Update of /var/lib/cvs/dovecot/src/plugins/quota
In directory talvi:/tmp/cvs-serv32564/plugins/quota

Modified Files:
	quota-storage.c 
Log Message:
Added mailbox_transaction_commit_get_uids() which returns the UID range for
saved/copied messages.



Index: quota-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/quota/quota-storage.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- quota-storage.c	17 Apr 2007 15:39:31 -0000	1.16
+++ quota-storage.c	17 Apr 2007 16:41:06 -0000	1.17
@@ -86,12 +86,16 @@
 
 static int
 quota_mailbox_transaction_commit(struct mailbox_transaction_context *ctx,
-				 enum mailbox_sync_flags flags)
+				 enum mailbox_sync_flags flags,
+				 uint32_t *first_saved_uid_r,
+				 uint32_t *last_saved_uid_r)
 {
 	struct quota_mailbox *qbox = QUOTA_CONTEXT(ctx->box);
 	struct quota_transaction_context *qt = QUOTA_CONTEXT(ctx);
 
-	if (qbox->module_ctx.super.transaction_commit(ctx, flags) < 0) {
+	if (qbox->module_ctx.super.transaction_commit(ctx, flags,
+						      first_saved_uid_r,
+						      last_saved_uid_r) < 0) {
 		quota_transaction_rollback(&qt);
 		return -1;
 	} else {



More information about the dovecot-cvs mailing list