Lines Matching refs:xpr_box
67 struct expire_mailbox *xpr_box = EXPIRE_CONTEXT_REQUIRE(box);
71 t = xpr_box->module_ctx.super.transaction_begin(box, flags, reason);
102 struct expire_mailbox *xpr_box = EXPIRE_CONTEXT_REQUIRE(box);
104 if (xpr_box->expire_ext_id != (uint32_t)-1)
105 return xpr_box->expire_ext_id;
107 xpr_box->expire_ext_id =
110 return xpr_box->expire_ext_id;
216 struct expire_mailbox *xpr_box = EXPIRE_CONTEXT_REQUIRE(t->box);
239 if (xpr_box->module_ctx.super.transaction_commit(t, changes_r) < 0) {
288 struct expire_mailbox *xpr_box = EXPIRE_CONTEXT_REQUIRE(t->box);
291 xpr_box->module_ctx.super.transaction_rollback(t);
311 struct expire_mailbox *xpr_box = EXPIRE_CONTEXT(_mail->box);
316 if (xpr_box == NULL)
331 struct expire_mailbox *xpr_box = EXPIRE_CONTEXT_REQUIRE(ctx->transaction->box);
334 return xpr_box->module_ctx.super.save_finish(ctx);
342 struct expire_mailbox *xpr_box = EXPIRE_CONTEXT_REQUIRE(ctx->transaction->box);
345 return xpr_box->module_ctx.super.copy(ctx, mail);
351 struct expire_mailbox *xpr_box;
353 xpr_box = p_new(box->pool, struct expire_mailbox, 1);
354 xpr_box->module_ctx.super = *v;
355 box->vlast = &xpr_box->module_ctx.super;
356 xpr_box->expire_ext_id = (uint32_t)-1;
364 MODULE_CONTEXT_SET(box, expire_storage_module, xpr_box);