Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib-storage/mail-storage.h @ 7358:ffb7e8b1c114 HEAD
Added mailbox_transaction_get_mailbox()
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 06 Mar 2008 09:43:03 +0200 |
parents | a6c066f50877 |
children | 2220b2aa9f7c 4b8c1c164d8f d274d0870a1a |
line wrap: on
line diff
--- a/src/lib-storage/mail-storage.h Thu Mar 06 09:42:16 2008 +0200 +++ b/src/lib-storage/mail-storage.h Thu Mar 06 09:43:03 2008 +0200 @@ -325,6 +325,9 @@ /* Return the number of active transactions for the mailbox. */ unsigned int mailbox_transaction_get_count(struct mailbox *box); +struct mailbox * +mailbox_transaction_get_mailbox(struct mailbox_transaction_context *t); + /* Build mail_keywords from NULL-terminated keywords list. Returns 0 if successful, -1 if there are invalid keywords (error is set). */ int mailbox_keywords_create(struct mailbox *box, const char *const keywords[],