[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-storage.c, 1.21, 1.22

cras at dovecot.org cras at dovecot.org
Sun Sep 17 19:21:48 EEST 2006


Update of /var/lib/cvs/dovecot/src/lib-storage/index/dbox
In directory talvi:/tmp/cvs-serv12847/index/dbox

Modified Files:
	dbox-storage.c 
Log Message:
Added mail_storage_get_mailbox_index_dir().



Index: dbox-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-storage.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- dbox-storage.c	23 Jul 2006 14:20:59 -0000	1.21
+++ dbox-storage.c	17 Sep 2006 16:21:45 -0000	1.22
@@ -319,6 +319,15 @@
 	return dbox_get_path(istorage, name);
 }
 
+static const char *
+dbox_get_mailbox_index_dir(struct mail_storage *_storage, const char *name)
+{
+	struct dbox_storage *storage = (struct dbox_storage *)_storage;
+	struct index_storage *istorage = INDEX_STORAGE(storage);
+
+	return dbox_get_index_dir(istorage, name);
+}
+
 static struct mailbox *
 dbox_open(struct dbox_storage *storage, const char *name,
 	  enum mailbox_open_flags flags)
@@ -700,6 +709,7 @@
 		index_storage_set_callbacks,
 		dbox_get_mailbox_path,
 		dbox_get_mailbox_control_dir,
+		dbox_get_mailbox_index_dir,
 		dbox_mailbox_open,
 		dbox_mailbox_create,
 		dbox_mailbox_delete,



More information about the dovecot-cvs mailing list