[dovecot-cvs] dovecot/src/lib-storage/list index-mailbox-list.c, 1.10, 1.11

tss at dovecot.org tss at dovecot.org
Wed Apr 11 22:28:26 EEST 2007


Update of /var/lib/cvs/dovecot/src/lib-storage/list
In directory talvi:/tmp/cvs-serv4149/list

Modified Files:
	index-mailbox-list.c 
Log Message:
Added mailbox_list_get_permissions() and MAILBOX_LIST_ITER_RAW_LIST.



Index: index-mailbox-list.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/list/index-mailbox-list.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- index-mailbox-list.c	3 Apr 2007 05:54:56 -0000	1.10
+++ index-mailbox-list.c	11 Apr 2007 19:28:23 -0000	1.11
@@ -126,7 +126,11 @@
 	ctx->mail_view = mail_index_view_open(ilist->mail_index);
 	ctx->view = mailbox_list_index_view_init(ilist->list_index,
 						 ctx->mail_view);
-	if (index_mailbox_list_is_synced(ctx) > 0) {
+	if ((flags & MAILBOX_LIST_ITER_RAW_LIST) != 0) {
+		/* Ignore indexes completely */
+		ctx->backend_ctx = ilist->module_ctx.super.
+			iter_init(list, mask, flags);
+	} else if (index_mailbox_list_is_synced(ctx) > 0) {
 		/* synced, list from index */
 		mask_parse(list, mask, &prefix, &recurse_level);
 



More information about the dovecot-cvs mailing list