]>
Commit | Line | Data |
---|---|---|
7368a6c8 | 1 | #ifndef AUTH_H |
2 | #define AUTH_H | |
3 | ||
4 | void do_authentication(void); | |
e78a59f5 | 5 | void do_authentication2(void); |
6 | ||
7 | struct passwd * | |
8 | auth_get_user(void); | |
7368a6c8 | 9 | |
089fbbd2 | 10 | int allowed_user(struct passwd * pw); |
a306f2dd | 11 | |
12 | #define AUTH_FAIL_MAX 6 | |
13 | #define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2) | |
14 | #define AUTH_FAIL_MSG "Too many authentication failures for %.100s" | |
15 | ||
7368a6c8 | 16 | #endif |
a306f2dd | 17 |