[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
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index index-mail.c, 1.42,
1.43 index-status.c, 1.31, 1.32 index-storage.h, 1.71,
1.72 index-sync.c, 1.36, 1.37
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-mail.c,
1.5, 1.6 maildir-storage.c, 1.78, 1.79 maildir-uidlist.h, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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) {
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index index-mail.c, 1.42,
1.43 index-status.c, 1.31, 1.32 index-storage.h, 1.71,
1.72 index-sync.c, 1.36, 1.37
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-mail.c,
1.5, 1.6 maildir-storage.c, 1.78, 1.79 maildir-uidlist.h, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list