Lines Matching defs:luser
88 struct lazy_expunge_mail_user *luser =
93 if (luser->lazy_mailbox_vname != NULL)
94 return luser->lazy_mailbox_vname;
243 struct lazy_expunge_mail_user *luser =
248 if (luser == NULL || llist == NULL) {
256 if (luser->lazy_mailbox_vname != NULL &&
257 strcmp(luser->lazy_mailbox_vname, box->vname) == 0) {
288 struct lazy_expunge_mail_user *luser =
338 lt->dest_box = mailbox_open_or_create(luser->lazy_ns->list,
387 struct lazy_expunge_mail_user *luser =
395 lt->copy_only_last_instance = luser->copy_only_last_instance;
529 struct lazy_expunge_mail_user *luser =
533 if (luser == NULL)
538 if (strcmp(list->ns->prefix, luser->env) == 0)
551 struct lazy_expunge_mail_user *luser =
555 if (luser == NULL)
558 luser->lazy_ns = mail_namespace_find_prefix(namespaces, luser->env);
559 if (luser->lazy_ns != NULL) {
561 llist = LAZY_EXPUNGE_LIST_CONTEXT(luser->lazy_ns->list);
566 luser->lazy_ns = mail_namespace_find(namespaces, luser->env);
567 luser->lazy_mailbox_vname = luser->env;
569 mail_namespace_ref(luser->lazy_ns);
574 struct lazy_expunge_mail_user *luser = LAZY_EXPUNGE_USER_CONTEXT_REQUIRE(user);
577 if (luser->lazy_ns != NULL)
578 mail_namespace_unref(&luser->lazy_ns);
579 luser->module_ctx.super.deinit(user);
585 struct lazy_expunge_mail_user *luser;
590 luser = p_new(user->pool, struct lazy_expunge_mail_user, 1);
591 luser->module_ctx.super = *v;
592 user->vlast = &luser->module_ctx.super;
594 luser->env = env;
595 luser->copy_only_last_instance =
598 MODULE_CONTEXT_SET(user, lazy_expunge_mail_user_module, luser);