[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-storage.c, 1.85, 1.86

cras at dovecot.org cras at dovecot.org
Mon Jul 12 00:04:49 EEST 2004


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

Modified Files:
	mbox-storage.c 
Log Message:
Recent flags should be fully working now with maildir.



Index: mbox-storage.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-storage.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- mbox-storage.c	9 Jul 2004 18:31:26 -0000	1.85
+++ mbox-storage.c	11 Jul 2004 21:04:47 -0000	1.86
@@ -407,11 +407,6 @@
 	return t_strconcat(storage->dir, "/", name, NULL);
 }
 
-static uint32_t mbox_get_recent_count(struct index_mailbox *ibox)
-{
-	return 0; // FIXME
-}
-
 static void mbox_mail_deinit(struct index_mail *mail)
 {
 	if (mail->ibox->mbox_mail_lock_id != 0) {
@@ -420,6 +415,12 @@
 	}
 }
 
+static int mbox_mail_is_recent(struct index_mailbox *ibox __attr_unused__,
+			       uint32_t uid __attr_unused__)
+{
+	return FALSE;
+}
+
 static struct mailbox *
 mbox_open(struct index_storage *storage, const char *name,
 	  enum mailbox_open_flags flags)
@@ -456,8 +457,8 @@
 	ibox->mbox_lock_type = F_UNLCK;
 	ibox->mbox_extra_idx = mbox_extra_idx;
 
-	ibox->get_recent_count = mbox_get_recent_count;
 	ibox->mail_deinit = mbox_mail_deinit;
+	ibox->is_recent = mbox_mail_is_recent;
 	ibox->mail_interface = &mbox_mail;
 
 	if (access(path, R_OK|W_OK) < 0) {



More information about the dovecot-cvs mailing list