[dovecot-cvs] dovecot/src/pop3 client.c, 1.68, 1.69 common.h, 1.13, 1.14 main.c, 1.51, 1.52

tss at dovecot.org tss at dovecot.org
Sat Nov 25 22:18:43 UTC 2006


Update of /var/lib/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv28938/pop3

Modified Files:
	client.c common.h main.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: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/client.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- client.c	18 Nov 2006 13:41:42 -0000	1.68
+++ client.c	25 Nov 2006 22:18:36 -0000	1.69
@@ -47,7 +47,7 @@
 	ctx = mailbox_sync_init(box, MAILBOX_SYNC_FLAG_FULL_READ);
 	while (mailbox_sync_next(ctx, &sync_rec) > 0)
 		;
-	return mailbox_sync_deinit(&ctx, status);
+	return mailbox_sync_deinit(&ctx, STATUS_UIDVALIDITY, status);
 }
 
 static int init_mailbox(struct client *client)

Index: common.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/common.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- common.h	27 Apr 2006 12:29:14 -0000	1.13
+++ common.h	25 Nov 2006 22:18:37 -0000	1.14
@@ -22,7 +22,6 @@
 extern const char *uidl_format, *logout_format;
 extern enum uidl_keys uidl_keymask;
 
-extern void (*hook_mail_storage_created)(struct mail_storage *storage);
 extern void (*hook_client_created)(struct client **client);
 
 #endif

Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/main.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- main.c	10 Aug 2006 18:46:58 -0000	1.51
+++ main.c	25 Nov 2006 22:18:37 -0000	1.52
@@ -34,7 +34,6 @@
 
 struct ioloop *ioloop;
 
-void (*hook_mail_storage_created)(struct mail_storage *storage) = NULL;
 void (*hook_client_created)(struct client **client) = NULL;
 
 static struct module *modules;
@@ -248,9 +247,6 @@
 		}
 	}
 
-	if (hook_mail_storage_created != NULL)
-		hook_mail_storage_created(storage);
-
 	return client_create(0, 1, storage) != NULL;
 }
 



More information about the dovecot-cvs mailing list