blob: 61b1f2c5c7220f80ac3ef85aa16e7f086ef219cf [file] [log] [blame]
Damien Millerb38eff82000-04-01 11:09:21 +10001#ifndef AUTH_H
2#define AUTH_H
3
4void do_authentication(void);
Damien Millerefb4afe2000-04-12 18:45:05 +10005void do_authentication2(void);
6
7struct passwd *
8auth_get_user(void);
Damien Millerb38eff82000-04-01 11:09:21 +10009
Damien Miller37023962000-07-11 17:31:38 +100010int allowed_user(struct passwd * pw);
Damien Millereba71ba2000-04-29 23:57:08 +100011
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
Damien Millerb38eff82000-04-01 11:09:21 +100016#endif
Damien Millereba71ba2000-04-29 23:57:08 +100017