* NULL if not found.
*/
struct acl *find_acl_by_name(const char *name, struct list *head);
+struct acl *find_acl_default(const char *acl_name, struct list *known_acl,
+ char **err, struct arg_list *al,
+ const char *file, int line);
/* Return a pointer to the ACL keyword <kw> within the list starting at <head>,
* or NULL if not found. Note that if <kw> contains an opening parenthesis,
* to report missing dependencies. It may be NULL if such dependencies are not
* allowed.
*/
-static struct acl *find_acl_default(const char *acl_name, struct list *known_acl,
- char **err, struct arg_list *al,
- const char *file, int line)
+struct acl *find_acl_default(const char *acl_name, struct list *known_acl,
+ char **err, struct arg_list *al,
+ const char *file, int line)
{
__label__ out_return, out_free_acl_expr, out_free_name;
struct acl *cur_acl;