[dovecot-cvs] dovecot/src/lib-storage mail-storage-private.h, 1.33, 1.34 mail-storage.h, 1.114, 1.115

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


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

Modified Files:
	mail-storage-private.h mail-storage.h 
Log Message:
Added mail_storage_get_mailbox_index_dir().



Index: mail-storage-private.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/mail-storage-private.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- mail-storage-private.h	11 Jul 2006 16:00:08 -0000	1.33
+++ mail-storage-private.h	17 Sep 2006 16:21:41 -0000	1.34
@@ -31,6 +31,8 @@
 					const char *name, bool *is_file_r);
 	const char *(*get_mailbox_control_dir)(struct mail_storage *storage,
 					       const char *name);
+	const char *(*get_mailbox_index_dir)(struct mail_storage *storage,
+					     const char *name);
 
 	struct mailbox *(*mailbox_open)(struct mail_storage *storage,
 					const char *name,

Index: mail-storage.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/mail-storage.h,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -d -r1.114 -r1.115
--- mail-storage.h	7 Aug 2006 12:42:37 -0000	1.114
+++ mail-storage.h	17 Sep 2006 16:21:41 -0000	1.115
@@ -311,6 +311,10 @@
    doesn't exist in filesystem. */
 const char *mail_storage_get_mailbox_control_dir(struct mail_storage *storage,
 						 const char *name);
+/* Returns path to the index directory of the mailbox, or NULL if using
+   in-memory indexes or mailbox doesn't exist. */
+const char *mail_storage_get_mailbox_index_dir(struct mail_storage *storage,
+					       const char *name);
 
 /* Open a mailbox. If input stream is given, mailbox is opened read-only
    using it as a backend. If storage doesn't support stream backends and its



More information about the dovecot-cvs mailing list