diff options
Diffstat (limited to 'src/acl.h')
-rw-r--r-- | src/acl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -21,11 +21,11 @@ struct acl_input { struct sockaddr *addr; socklen_t addrlen; - const char *user; - const char **groups; + pies_identity_t identity; }; pies_acl_t pies_acl_create (const char *name, grecs_locus_t *locus); +void pies_acl_free (pies_acl_t acl); int pies_acl_check (pies_acl_t acl, struct acl_input *input, int result); int parse_acl_line (grecs_locus_t *locus, int allow, pies_acl_t acl, grecs_value_t *value); |