Lines Matching defs:_mail
264 acl_mail_update_flags(struct mail *_mail, enum modify_type modify_type,
267 struct mail_private *mail = (struct mail_private *)_mail;
271 if (acl_get_write_rights(_mail->box, &acl_flags, &acl_flag_seen,
273 acl_transaction_set_failure(_mail->transaction);
295 acl_mail_update_flags(_mail, MODIFY_REMOVE, ~flags);
297 acl_mail_update_flags(_mail, MODIFY_ADD, flags);
301 amail->super.update_flags(_mail, modify_type, flags);
305 acl_mail_update_keywords(struct mail *_mail, enum modify_type modify_type,
308 struct mail_private *mail = (struct mail_private *)_mail;
312 ret = acl_mailbox_right_lookup(_mail->box, ACL_STORAGE_RIGHT_WRITE);
316 acl_transaction_set_failure(_mail->transaction);
320 amail->super.update_keywords(_mail, modify_type, keywords);
323 static void acl_mail_expunge(struct mail *_mail)
325 struct mail_private *mail = (struct mail_private *)_mail;
329 ret = acl_mailbox_right_lookup(_mail->box, ACL_STORAGE_RIGHT_EXPUNGE);
334 acl_transaction_set_failure(_mail->transaction);
338 amail->super.expunge(_mail);
341 void acl_mail_allocated(struct mail *_mail)
343 struct acl_mailbox *abox = ACL_CONTEXT(_mail->box);
344 struct mail_private *mail = (struct mail_private *)_mail;