#ifndef ACL_CACHE_H
#define ACL_CACHE_H
struct acl_backend;
struct acl_rights_update;
struct acl_mask {
/* mask[] size as bytes */
unsigned int size;
/* variable length bitmask */
};
const char *const *rights);
const char *right);
/* Flush cache for given object name */
/* Flush cache for all objects */
/* Update object ACLs. The new rights are always applied on top of the
existing rights. The ordering by acl_id_type must be done by the caller. */
const struct acl_rights_update *update);
/* Return ACL object validity, or NULL if object doesn't exit. */
/* Update ACL object validity, creating the object if needed. */
const void *validity);
/* Returns all the right names currently created. The returned pointer may
change after calling acl_cache_update(). */
unsigned int *count_r);
/* Returns user's current rights, or NULL if no rights have been specified
for this object. */
const struct acl_mask *
/* Returns TRUE if given right index is set in mask. */
#endif