index-fetch.c revision 0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* Copyright (C) 2002-2003 Timo Sirainen */
45e9809aff7304721fddb95654901b32195c9c7avboxsyncindex_storage_fetch(struct mailbox_transaction_context *_t, uint32_t seq,
45e9809aff7304721fddb95654901b32195c9c7avboxsync if (mail_index_lookup(t->ibox->view, seq, &rec) < 0) {
45e9809aff7304721fddb95654901b32195c9c7avboxsync index_mail_init(t, &t->fetch_mail, wanted_fields, NULL);
45e9809aff7304721fddb95654901b32195c9c7avboxsync if (index_mail_next(&t->fetch_mail, rec, seq, FALSE) <= 0)
45e9809aff7304721fddb95654901b32195c9c7avboxsync struct index_mailbox *ibox = (struct index_mailbox *)box;