#ifndef ACL_API_PRIVATE_H
#define ACL_API_PRIVATE_H
#include "acl-api.h"
struct acl_backend_vfuncs {
struct acl_mailbox_list_context *
const char **name_r);
int (*nonowner_lookups_iter_deinit)
(struct acl_mailbox_list_context *ctx);
const char *name);
const char *child_name);
const struct acl_rights_update *update);
struct acl_object_list_iter *
struct acl_rights *rights_r);
};
struct acl_backend {
const char *username;
const char **groups;
unsigned int group_count;
const char *const *default_rights;
struct acl_backend_vfuncs v;
};
struct acl_mailbox_list_context {
const char *error;
};
struct acl_object {
char *name;
};
struct acl_object_list_iter {
const char *error;
};
extern const char *const all_mailbox_rights[];
struct acl_object_list_iter *
struct acl_rights *rights_r);
const char *const *
const char **error_r);
const char *const *
const char *const *src, bool dup_strings);
const char *const **rightsp,
const char *const *modify_rights,
enum acl_modify_mode modify_mode);
#endif