[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-storage.c, 1.24, 1.25
tss at dovecot.org
tss at dovecot.org
Fri Dec 1 20:55:06 UTC 2006
Update of /var/lib/cvs/dovecot/src/lib-storage/index/dbox
In directory talvi:/tmp/cvs-serv10052/index/dbox
Modified Files:
dbox-storage.c
Log Message:
Removed get_mailbox_control_dir and get_mailbox_index_dir virtual functions
from mail_storage, since they're already in mailbox_list.get_path(). Updated
mbox to override that function to return index/control dirs with the
".imap/" in the middle.
Index: dbox-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-storage.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- dbox-storage.c 25 Nov 2006 22:17:42 -0000 1.24
+++ dbox-storage.c 1 Dec 2006 20:55:04 -0000 1.25
@@ -195,20 +195,6 @@
return FALSE;
}
-static const char *
-dbox_get_mailbox_control_dir(struct mail_storage *_storage, const char *name)
-{
- return mailbox_list_get_path(_storage->list, name,
- MAILBOX_LIST_PATH_TYPE_CONTROL);
-}
-
-static const char *
-dbox_get_mailbox_index_dir(struct mail_storage *_storage, const char *name)
-{
- return mailbox_list_get_path(_storage->list, name,
- MAILBOX_LIST_PATH_TYPE_INDEX);
-}
-
static struct mailbox *
dbox_open(struct dbox_storage *storage, const char *name,
enum mailbox_open_flags flags)
@@ -602,8 +588,6 @@
dbox_free,
dbox_autodetect,
index_storage_set_callbacks,
- 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