acl-plugin.h revision a10ed8c47534b4c6b6bf2711ccfe577e720a47b4
#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;
};
bool parent, unsigned int acl_storage_right_idx,
void acl_plugin_deinit(void);
#endif