[dovecot-cvs] dovecot/src/lib-storage/index index-storage.h, 1.62, 1.63

cras at procontrol.fi cras at procontrol.fi
Mon Jun 14 07:30:34 EEST 2004


Update of /home/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv21799

Modified Files:
	index-storage.h 
Log Message:
Save mbox offsets to index file using extra_records. Some other fixes.



Index: index-storage.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/index-storage.h,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- index-storage.h	25 May 2004 17:50:36 -0000	1.62
+++ index-storage.h	14 Jun 2004 04:30:32 -0000	1.63
@@ -87,9 +87,7 @@
 	struct dotlock mbox_dotlock;
 	unsigned int mbox_lock_id;
 
-	buffer_t *mbox_data_buf;
-	const uoff_t *mbox_data;
-	uint32_t mbox_data_count;
+	uint32_t mbox_extra_idx;
 
 	/* maildir sync: */
 	struct maildir_uidlist *uidlist;
@@ -125,8 +123,8 @@
 void index_storage_lock_notify_reset(struct index_mailbox *ibox);
 
 struct mail_index *
-index_storage_alloc(const char *index_dir,
-		    const char *mailbox_path, const char *prefix);
+index_storage_alloc(const char *index_dir, const char *mailbox_path,
+		    const char *prefix);
 void index_storage_unref(struct mail_index *index);
 void index_storage_destroy_unrefed(void);
 



More information about the dovecot-cvs mailing list