[dovecot-cvs] dovecot/src/lib-index mail-index.h,1.57,1.58

cras at procontrol.fi cras at procontrol.fi
Fri Dec 20 09:53:54 EET 2002


Update of /home/cvs/dovecot/src/lib-index
In directory danu:/tmp/cvs-serv29331/src/lib-index

Modified Files:
	mail-index.h 
Log Message:
Added :INDEX=<dir> for both Maildir and mbox to specify different location
where to store index files. This would allow keeping mailboxes accessible
through NFS but still keep the indexes in fast local disk.

Did also some other related cleanups and minor fixes.



Index: mail-index.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index.h,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- mail-index.h	6 Dec 2002 01:09:23 -0000	1.57
+++ mail-index.h	20 Dec 2002 07:53:52 -0000	1.58
@@ -355,11 +355,11 @@
 
 	char *dir; /* directory where to place the index files */
 	char *filepath; /* index file path */
+	char *mailbox_path; /* file/directory for mailbox location */
 	MailDataField default_cache_fields, never_cache_fields;
 	unsigned int indexid;
 	unsigned int sync_id;
 
-	char *mbox_path; /* mbox-specific path to the actual mbox file */
 	int mbox_fd;
 	IStream *mbox_stream;
 	MailLockType mbox_lock_type;




More information about the dovecot-cvs mailing list