mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-12 14:35:14 +00:00
ff011f26e9
And also rename "req_acl_rule" "http_req_rule". At the beginning that was a bit confusing to me, especially the "req_acl" list which in fact holds what we call rules. After some digging, it appeared that some part of the code is 100% HTTP and not just related to authentication anymore, so let's move that part to HTTP and keep the auth-only code in auth.c.
35 lines
835 B
C
35 lines
835 B
C
/*
|
|
* User authentication & authorization.
|
|
*
|
|
* Copyright 2010 Krzysztof Piotr Oledzki <ole@ans.pl>
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version
|
|
* 2 of the License, or (at your option) any later version.
|
|
*
|
|
*/
|
|
|
|
#ifndef _PROTO_AUTH_H
|
|
#define _PROTO_AUTH_H
|
|
|
|
#include <common/config.h>
|
|
#include <types/auth.h>
|
|
|
|
extern struct userlist *userlist;
|
|
|
|
struct userlist *auth_find_userlist(char *name);
|
|
unsigned int auth_resolve_groups(struct userlist *l, char *groups);
|
|
void userlist_free(struct userlist *ul);
|
|
int acl_match_auth(struct acl_test *test, struct acl_pattern *pattern);
|
|
|
|
#endif /* _PROTO_AUTH_H */
|
|
|
|
/*
|
|
* Local variables:
|
|
* c-indent-level: 8
|
|
* c-basic-offset: 8
|
|
* End:
|
|
*/
|
|
|