[dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.66, 1.67 index-storage.h, 1.85, 1.86

cras at dovecot.org cras at dovecot.org
Wed Dec 29 21:10:29 EET 2004


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

Modified Files:
	index-storage.c index-storage.h 
Log Message:
Added mail_debug setting. Moved full_filesystem_access from global variable
to flag in mail_create*() functions.



Index: index-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-storage.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- index-storage.c	26 Dec 2004 09:12:42 -0000	1.66
+++ index-storage.c	29 Dec 2004 19:10:26 -0000	1.67
@@ -38,8 +38,10 @@
 static struct timeout *to_index = NULL;
 static int index_storage_refcount = 0;
 
-void index_storage_init(struct index_storage *storage __attr_unused__)
+void index_storage_init(struct index_storage *storage,
+			enum mail_storage_flags flags)
 {
+	storage->storage.flags = flags;
 	index_storage_refcount++;
 }
 

Index: index-storage.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-storage.h,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- index-storage.h	26 Dec 2004 09:12:42 -0000	1.85
+++ index-storage.h	29 Dec 2004 19:10:26 -0000	1.86
@@ -132,7 +132,8 @@
 void index_storage_unref(struct mail_index *index);
 void index_storage_destroy_unrefed(void);
 
-void index_storage_init(struct index_storage *storage);
+void index_storage_init(struct index_storage *storage,
+			enum mail_storage_flags flags);
 void index_storage_deinit(struct index_storage *storage);
 
 struct index_mailbox *



More information about the dovecot-cvs mailing list