acl-plugin.h revision 81c0e970da009d078dcdaa7c05990675d1352899
#ifndef ACL_PLUGIN_H
#define ACL_PLUGIN_H
#include "mail-user.h"
#include "mail-storage-private.h"
#include "mailbox-list-private.h"
#include "acl-storage.h"
#define ACL_CONTEXT(obj) \
#define ACL_LIST_CONTEXT(obj) \
#define ACL_USER_CONTEXT(obj) \
struct acl_user {
const char *master_user;
const char *acl_env;
const char *const *groups;
struct acl_lookup_dict *acl_lookup_dict;
};
struct acl_storage_rights_context {
struct acl_backend *backend;
unsigned int acl_storage_right_idx[ACL_STORAGE_RIGHT_COUNT];
};
struct acl_mailbox_list {
struct acl_storage_rights_context rights;
};
struct mailbox *
enum mailbox_flags flags);
bool parent, unsigned int acl_storage_right_idx,
bool *can_see_r);
void acl_plugin_deinit(void);
#endif