acl-plugin.h revision c25356d5978632df6203437e1953bcb29e0c736f
#ifndef ACL_PLUGIN_H
#define ACL_PLUGIN_H
#include "mail-storage-private.h"
#define ACL_CONTEXT(obj) \
enum acl_storage_rights {
};
struct acl_storage_rights_context {
struct acl_backend *backend;
unsigned int acl_storage_right_idx[ACL_STORAGE_RIGHT_COUNT];
};
struct acl_mail_storage {
struct acl_storage_rights_context rights;
};
extern void (*acl_next_hook_mail_storage_created)
(struct mail_storage *storage);
struct acl_backend *backend);
const char *name,
unsigned int acl_storage_right_idx,
bool *can_see_r);
const char *name);
void acl_plugin_init(void);
void acl_plugin_deinit(void);
#endif