2
* User authentication & authorization.
4
* Copyright 2010 Krzysztof Piotr Oledzki <ole@ans.pl>
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version
9
* 2 of the License, or (at your option) any later version.
16
#include <common/config.h>
17
#include <common/mini-clist.h>
19
#include <types/auth.h>
21
#define MAX_AUTH_GROUPS (unsigned int)(sizeof(int)*8)
23
#define AU_O_INSECURE 0x00000001 /* insecure, unencrypted password */
26
PR_REQ_ACL_ACT_UNKNOWN = 0,
29
PR_REQ_ACL_ACT_HTTP_AUTH,
37
struct acl_cond *cond; /* acl condition to meet */
45
struct auth_users *next;
50
unsigned int group_mask;
55
struct userlist *next;
57
struct auth_users *users;
59
char *groups[MAX_AUTH_GROUPS];
63
#endif /* _TYPES_AUTH_H */