Lines Matching refs:_ctx
78 int virtual_save_begin(struct mail_save_context *_ctx, struct istream *input)
80 struct virtual_save_context *ctx = (struct virtual_save_context *)_ctx;
81 struct mail_save_data *mdata = &_ctx->data;
87 mail_storage_set_error(_ctx->transaction->box->storage,
90 mail_storage_set_error(_ctx->transaction->box->storage,
98 keywords = virtual_copy_keywords(_ctx->transaction->box, mdata->keywords,
114 virtual_mail_set_unattached_backend_mail(_ctx->dest_mail,
119 int virtual_save_continue(struct mail_save_context *_ctx)
121 struct virtual_save_context *ctx = (struct virtual_save_context *)_ctx;
126 int virtual_save_finish(struct mail_save_context *_ctx)
128 struct virtual_save_context *ctx = (struct virtual_save_context *)_ctx;
131 index_save_context_free(_ctx);
136 void virtual_save_cancel(struct mail_save_context *_ctx)
138 struct virtual_save_context *ctx = (struct virtual_save_context *)_ctx;
143 _ctx->unfinished = FALSE;
146 void virtual_save_free(struct mail_save_context *_ctx)
148 struct virtual_save_context *ctx = (struct virtual_save_context *)_ctx;
150 virtual_save_cancel(_ctx);
151 mailbox_save_context_deinit(_ctx);