mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-25 04:18:01 +00:00
MINOR: acl: export find_acl_default()
It will be needed in a future patch, so let's export it (it was static).
This commit is contained in:
parent
9539f2b097
commit
00fcda1ff2
@ -50,6 +50,9 @@ static inline int acl_pass(enum acl_test_res res)
|
|||||||
* NULL if not found.
|
* NULL if not found.
|
||||||
*/
|
*/
|
||||||
struct acl *find_acl_by_name(const char *name, struct list *head);
|
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>,
|
/* 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,
|
* or NULL if not found. Note that if <kw> contains an opening parenthesis,
|
||||||
|
@ -757,7 +757,7 @@ const struct {
|
|||||||
* to report missing dependencies. It may be NULL if such dependencies are not
|
* to report missing dependencies. It may be NULL if such dependencies are not
|
||||||
* allowed.
|
* allowed.
|
||||||
*/
|
*/
|
||||||
static struct acl *find_acl_default(const char *acl_name, struct list *known_acl,
|
struct acl *find_acl_default(const char *acl_name, struct list *known_acl,
|
||||||
char **err, struct arg_list *al,
|
char **err, struct arg_list *al,
|
||||||
const char *file, int line)
|
const char *file, int line)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user