[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-mail.c, 1.11, 1.12 mbox-storage.c, 1.87, 1.88

cras at dovecot.org cras at dovecot.org
Sun Jul 18 05:25:10 EEST 2004


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

Modified Files:
	mbox-mail.c mbox-storage.c 
Log Message:
Header caching redesigned. New design allows caching decisions per field, so
they can be divided to temporary/permanent. Cached headers are now always
returned in original order, old code didn't guarantee it. Some other caching
changes. (still missing code to store changes in caching decisions)



Index: mbox-mail.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-mail.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- mbox-mail.c	8 Jul 2004 20:26:16 -0000	1.11
+++ mbox-mail.c	18 Jul 2004 02:25:08 -0000	1.12
@@ -130,9 +130,10 @@
 						   offset, (uoff_t)-1);
 		data->stream =
 			i_stream_create_header_filter(default_pool,
-						      raw_stream,
+						      raw_stream, TRUE,
 						      mbox_hide_headers,
-						      mbox_hide_headers_count);
+						      mbox_hide_headers_count,
+						      NULL, NULL);
 		i_stream_unref(raw_stream);
 	}
 

Index: mbox-storage.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-storage.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- mbox-storage.c	12 Jul 2004 11:35:51 -0000	1.87
+++ mbox-storage.c	18 Jul 2004 02:25:08 -0000	1.88
@@ -889,6 +889,8 @@
 	mbox_transaction_rollback,
 	index_storage_fetch,
 	index_storage_get_uids,
+	index_header_lookup_init,
+        index_header_lookup_deinit,
         index_storage_search_get_sorting,
 	index_storage_search_init,
 	index_storage_search_deinit,



More information about the dovecot-cvs mailing list