[dovecot-cvs] dovecot/src/lib-storage/index index-mail.c, 1.31, 1.32 index-storage.h, 1.63, 1.64

cras at procontrol.fi cras at procontrol.fi
Tue Jun 15 05:12:58 EEST 2004


Update of /home/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv27118/lib-storage/index

Modified Files:
	index-mail.c index-storage.h 
Log Message:
forgot to commit



Index: index-mail.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/index-mail.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- index-mail.c	22 May 2004 22:23:29 -0000	1.31
+++ index-mail.c	15 Jun 2004 02:12:55 -0000	1.32
@@ -625,6 +625,9 @@
 
 void index_mail_deinit(struct index_mail *mail)
 {
+	if (mail->ibox->mail_deinit != NULL)
+                mail->ibox->mail_deinit(mail);
+
 	t_push();
 	index_mail_close(mail);
 	t_pop();

Index: index-storage.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/index-storage.h,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- index-storage.h	14 Jun 2004 04:30:32 -0000	1.63
+++ index-storage.h	15 Jun 2004 02:12:56 -0000	1.64
@@ -62,6 +62,7 @@
 	struct mail *mail_interface;
 
 	uint32_t (*get_recent_count)(struct index_mailbox *ibox);
+	void (*mail_deinit)(struct index_mail *mail);
 	unsigned int last_recent_count;
 
 	struct timeout *autosync_to;
@@ -85,7 +86,7 @@
 	ino_t mbox_ino;
 	unsigned int mbox_locks;
 	struct dotlock mbox_dotlock;
-	unsigned int mbox_lock_id;
+	unsigned int mbox_lock_id, mbox_mail_lock_id;
 
 	uint32_t mbox_extra_idx;
 



More information about the dovecot-cvs mailing list