dovecot-1.2: Added wanted_fields and wanted_headers fields to st...
dovecot at dovecot.org
dovecot at dovecot.org
Sun Nov 23 02:40:15 EET 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/1ff129ed866a
changeset: 8482:1ff129ed866a
user: Timo Sirainen <tss at iki.fi>
date: Sun Nov 23 02:37:23 2008 +0200
description:
Added wanted_fields and wanted_headers fields to struct mail_search_context.
diffstat:
2 files changed, 5 insertions(+)
src/lib-storage/index/index-mail.c | 2 ++
src/lib-storage/mail-storage-private.h | 3 +++
diffs (25 lines):
diff -r 9db582413fef -r 1ff129ed866a src/lib-storage/index/index-mail.c
--- a/src/lib-storage/index/index-mail.c Sun Nov 23 02:36:55 2008 +0200
+++ b/src/lib-storage/index/index-mail.c Sun Nov 23 02:37:23 2008 +0200
@@ -1069,6 +1069,8 @@ void index_mail_init(struct index_mail *
mail->mail.v = *t->ibox->mail_vfuncs;
mail->mail.mail.box = &t->ibox->box;
mail->mail.mail.transaction = &t->mailbox_ctx;
+ mail->mail.wanted_fields = wanted_fields;
+ mail->mail.wanted_headers = _wanted_headers;
hdr = mail_index_get_header(t->ibox->view);
mail->uid_validity = hdr->uid_validity;
diff -r 9db582413fef -r 1ff129ed866a src/lib-storage/mail-storage-private.h
--- a/src/lib-storage/mail-storage-private.h Sun Nov 23 02:36:55 2008 +0200
+++ b/src/lib-storage/mail-storage-private.h Sun Nov 23 02:37:23 2008 +0200
@@ -270,6 +270,9 @@ struct mail_private {
struct mail mail;
struct mail_vfuncs v;
+ enum mail_fetch_field wanted_fields;
+ struct mailbox_header_lookup_ctx *wanted_headers;
+
pool_t pool;
ARRAY_DEFINE(module_contexts, union mail_module_context *);
};
More information about the dovecot-cvs
mailing list