acl-storage.h revision eb4d4f557fa75aa2a47639e9deb75a21f44eb42a
#ifndef ACL_STORAGE_H
#define ACL_STORAGE_H
#include "mail-storage.h"
struct acl_rights_update;
enum acl_storage_rights {
};
/* Returns acl_object for the given mailbox. */
/* Returns 1 if we have the requested right. If not, returns 0 and sets storage
error to MAIL_ERROR_PERM. Returns -1 if internal error occurred and also
sets storage error. */
int acl_mailbox_update_acl(struct mailbox_transaction_context *t,
const struct acl_rights_update *update);
int acl_attribute_set(struct mailbox_transaction_context *t,
enum mail_attribute_type type,
int acl_attribute_get(struct mailbox_transaction_context *t,
struct mail_attribute_value *value_r);
struct mailbox_attribute_iter *
const char *prefix);
#endif