Lines Matching refs:acl
47 free_retv(struct acl_field *acl)
49 while(acl != NULL) {
50 if (acl->type == acl_retval) {
51 if (*acl->u.retv)
52 free(*acl->u.retv);
53 *acl->u.retv = NULL;
55 acl = acl->next;
60 acl_free_list(struct acl_field *acl, int retv)
64 free_retv(acl);
65 while(acl != NULL) {
66 next = acl->next;
67 free(acl);
68 acl = next;
79 struct acl_field *acl = NULL, *tmp;
86 acl_free_list(acl, 0);
103 acl_free_list(acl, 0);
108 if(acl == NULL)
109 acl = tmp;
111 *acl->last = tmp;
112 acl->last = &tmp->next;
114 *acl_ret = acl;
136 struct acl_field *acl,
143 if (acl == NULL)
145 if(!acl_match_field(context, buf, acl)) {
148 acl = acl->next;
150 if (acl)
186 * krb5_errx(context, 1, "acl didn't match");
192 * krb5_errx(context, 1, "acl didn't match");
209 struct acl_field *acl;
213 ret = acl_parse_format(context, &acl, format, ap);
218 found = acl_match_acl(context, acl, string);
219 acl_free_list(acl, !found);
234 * @param file file with acl listed in the file.
251 struct acl_field *acl;
269 ret = acl_parse_format(context, &acl, format, ap);
280 if(acl_match_acl(context, acl, buf)) {
284 free_retv(acl);
288 acl_free_list(acl, !found);