[dovecot-cvs] dovecot/src/plugins/lazy-expunge lazy-expunge-plugin.c, 1.7, 1.8

tss at dovecot.org tss at dovecot.org
Tue Apr 3 11:34:33 EEST 2007


Update of /var/lib/cvs/dovecot/src/plugins/lazy-expunge
In directory talvi:/tmp/cvs-serv21629/plugins/lazy-expunge

Modified Files:
	lazy-expunge-plugin.c 
Log Message:
Moved namespace handling to lib-storage. Beginnings of namespace support for
non-IMAP parts of Dovecot.



Index: lazy-expunge-plugin.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- lazy-expunge-plugin.c	29 Mar 2007 11:51:11 -0000	1.7
+++ lazy-expunge-plugin.c	3 Apr 2007 08:34:31 -0000	1.8
@@ -7,7 +7,7 @@
 #include "seq-range-array.h"
 #include "maildir-storage.h"
 #include "client.h"
-#include "namespace.h"
+#include "mail-namespace.h"
 #include "lazy-expunge-plugin.h"
 
 #include <stdio.h>
@@ -63,7 +63,7 @@
 static MODULE_CONTEXT_DEFINE_INIT(lazy_expunge_mailbox_list_module,
 				  &mailbox_list_module_register);
 
-static struct namespace *lazy_namespaces[LAZY_NAMESPACE_COUNT];
+static struct mail_namespace *lazy_namespaces[LAZY_NAMESPACE_COUNT];
 
 static struct mailbox *
 mailbox_open_or_create(struct mail_storage *storage, const char *name)
@@ -515,7 +515,7 @@
 			i_fatal("lazy_expunge: Missing namespace #%d", i + 1);
 
 		lazy_namespaces[i] =
-			namespace_find_prefix((*client)->namespaces, name);
+			mail_namespace_find_prefix((*client)->namespaces, name);
 		if (lazy_namespaces[i] == NULL)
 			i_fatal("lazy_expunge: Unknown namespace: '%s'", name);
 		if (strcmp(lazy_namespaces[i]->storage->name, "maildir") != 0) {



More information about the dovecot-cvs mailing list