Searched defs:mdata (Results 1 - 6 of 6) sorted by relevance

/dovecot/src/lib-storage/index/dbox-common/
H A Ddbox-save.c17 struct mail_save_data *mdata = &ctx->ctx.data; local
21 mail_index_append(ctx->trans, mdata->uid, &ctx->seq);
23 ctx->seq = mdata->stub_seq;
25 save_flags = mdata->flags & ~MAIL_RECENT;
28 if (mdata->keywords != NULL) {
30 MODIFY_REPLACE, mdata->keywords);
32 if (mdata->min_modseq != 0) {
34 mdata->min_modseq);
91 struct mail_save_data *mdata = &ctx->ctx.data; local
95 i_assert(mdata
132 struct mail_save_data *mdata = &ctx->ctx.data; local
[all...]
/dovecot/src/plugins/virtual/
H A Dvirtual-save.c81 struct mail_save_data *mdata = &_ctx->data; local
98 keywords = virtual_copy_keywords(_ctx->transaction->box, mdata->keywords,
101 mdata->flags | mdata->pvt_flags,
107 mdata->received_date,
108 mdata->received_tz_offset);
110 mdata->from_envelope);
111 mailbox_save_set_guid(ctx->backend_save_ctx, mdata->guid);
112 mailbox_save_set_min_modseq(ctx->backend_save_ctx, mdata->min_modseq);
/dovecot/src/lib-storage/index/imapc/
H A Dimapc-save.c216 struct mail_save_data *mdata = &_ctx->data; local
222 if (mdata->flags != 0 || mdata->keywords != NULL) {
226 imap_write_flags(str, mdata->flags & ~MAIL_RECENT, NULL);
227 if (mdata->keywords != NULL)
228 imapc_append_keywords(str, mdata->keywords);
232 if (mdata->received_date != (time_t)-1) {
234 imap_to_datetime(mdata->received_date));
/dovecot/src/lib-storage/index/mbox/
H A Dmbox-save.c440 struct mail_save_data *mdata = &_ctx->data; local
446 if (mdata->received_date == (time_t)-1)
447 mdata->received_date = ioloop_time;
457 save_flags = mdata->flags;
458 if (mdata->uid == 0)
464 if (ctx->next_uid < mdata->uid) {
466 ctx->next_uid = mdata->uid;
478 if (mdata->keywords != NULL) {
481 mdata->keywords);
483 if (mdata
[all...]
/dovecot/src/lib-storage/index/maildir/
H A Dmaildir-save.c153 struct mail_save_data *mdata = &_ctx->data; local
162 if (mdata->uid == 0)
163 mdata->flags |= MAIL_RECENT;
164 else if ((mdata->flags & MAIL_RECENT) == 0 &&
165 ctx->last_nonrecent_uid < mdata->uid)
166 ctx->last_nonrecent_uid = mdata->uid;
172 keyword_count = mdata->keywords == NULL ? 0 : mdata->keywords->count;
176 mf->flags = mdata->flags;
186 if (mdata
[all...]
/dovecot/src/lib-smtp/
H A Dtest-smtp-submit.c2015 const unsigned char *mdata; local
2020 mdata = (const unsigned char *)message + input->v_offset;
2021 test_assert(memcmp(data, mdata, size) == 0);

Completed in 21 milliseconds