Lines Matching defs:update
229 const struct mailbox_update *update)
241 if (update != NULL && !guid_128_is_empty(update->mailbox_guid)) {
242 memcpy(new_hdr.mailbox_guid, update->mailbox_guid,
262 const struct mailbox_update *update,
282 if (update != NULL && update->uid_validity != 0)
283 uid_validity = update->uid_validity;
294 if (update != NULL && hdr->next_uid < update->min_next_uid) {
295 uid_next = update->min_next_uid;
300 if (update != NULL && update->min_first_recent_uid != 0 &&
301 hdr->first_recent_uid < update->min_first_recent_uid) {
302 uint32_t first_recent_uid = update->min_first_recent_uid;
308 if (update != NULL && update->min_highest_modseq != 0 &&
309 mail_index_modseq_get_highest(view) < update->min_highest_modseq) {
312 update->min_highest_modseq);
322 mdbox_update_header(mbox, trans, update);
333 const struct mailbox_update *update,
340 ret = mdbox_write_index_header(box, update, trans);
434 mdbox_mailbox_update(struct mailbox *box, const struct mailbox_update *update)
440 if (mdbox_write_index_header(box, update, NULL) < 0)
442 return index_storage_mailbox_update_common(box, update);