[dovecot-cvs] dovecot/src/deliver deliver.c,1.38,1.39
tss at dovecot.org
tss at dovecot.org
Sat Nov 25 22:17:42 UTC 2006
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-index-sync-update.c, 1.103, 1.104 mail-index-transaction.c, 1.83, 1.84
- Next message: [dovecot-cvs] dovecot/src/imap Makefile.am, 1.36, 1.37 cmd-list.c, 1.58, 1.59 common.h, 1.22, 1.23 imap-sync.c, 1.20, 1.21 imap-thread.c, 1.28, 1.29 main.c, 1.82, 1.83 namespace.c, 1.16, 1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/deliver
In directory talvi:/tmp/cvs-serv28938/deliver
Modified Files:
deliver.c
Log Message:
Mailbox list indexing and related changes. Currently works only with
maildir and mmap_disable=no. This allows doing STATUS to synced mailboxes
without opening their index files at all.
Index: deliver.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/deliver/deliver.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- deliver.c 19 Nov 2006 22:38:09 -0000 1.38
+++ deliver.c 25 Nov 2006 22:17:39 -0000 1.39
@@ -40,8 +40,6 @@
struct deliver_settings *deliver_set;
deliver_mail_func_t *deliver_mail = NULL;
-void (*hook_mail_storage_created)(struct mail_storage *storage) = NULL;
-
static struct module *modules;
static struct ioloop *ioloop;
@@ -58,12 +56,11 @@
{
struct mailbox_sync_context *ctx;
struct mailbox_sync_rec sync_rec;
- struct mailbox_status status;
ctx = mailbox_sync_init(box, 0);
while (mailbox_sync_next(ctx, &sync_rec) > 0)
;
- return mailbox_sync_deinit(&ctx, &status);
+ return mailbox_sync_deinit(&ctx, 0, NULL);
}
static struct mailbox *
@@ -567,9 +564,6 @@
destination, mail_env == NULL ? "(null)" : mail_env);
}
- if (hook_mail_storage_created != NULL)
- hook_mail_storage_created(storage);
-
mbox_storage = mail_storage_create("mbox", "/tmp", destination, 0,
MAIL_STORAGE_LOCK_FCNTL);
input = create_mbox_stream(0, envelope_sender);
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-index-sync-update.c, 1.103, 1.104 mail-index-transaction.c, 1.83, 1.84
- Next message: [dovecot-cvs] dovecot/src/imap Makefile.am, 1.36, 1.37 cmd-list.c, 1.58, 1.59 common.h, 1.22, 1.23 imap-sync.c, 1.20, 1.21 imap-thread.c, 1.28, 1.29 main.c, 1.82, 1.83 namespace.c, 1.16, 1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list