diff src/lib-storage/index/index-storage.h @ 8011:2d902d1f8bea HEAD

struct mailbox_header_lookup_ctx can now be referenced/unreferenced so it can be shared among multiple struct mails.
author Timo Sirainen <tss@iki.fi>
date Sat, 19 Jul 2008 14:43:24 +0300
parents e04513064165
children 0e7a9547be83
line wrap: on
line diff
--- a/src/lib-storage/index/index-storage.h	Fri Jul 18 17:55:02 2008 +0300
+++ b/src/lib-storage/index/index-storage.h	Sat Jul 19 14:43:24 2008 +0300
@@ -157,7 +157,8 @@
 
 struct mailbox_header_lookup_ctx *
 index_header_lookup_init(struct mailbox *box, const char *const headers[]);
-void index_header_lookup_deinit(struct mailbox_header_lookup_ctx *ctx);
+void index_header_lookup_ref(struct mailbox_header_lookup_ctx *ctx);
+void index_header_lookup_unref(struct mailbox_header_lookup_ctx *ctx);
 
 struct mail_search_context *
 index_storage_search_init(struct mailbox_transaction_context *t,