[BACK]Return to auth.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

File: [local] / src / usr.bin / ssh / auth.h (download)

Revision 1.3, Wed Apr 26 21:28:32 2000 UTC (24 years, 1 month ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE
Branch point for: OPENBSD_2_7
Changes since 1.2: +7 -0 lines

split auth/sshconnect in one file per protocol version

#ifndef AUTH_H
#define AUTH_H

void	do_authentication(void);
void	do_authentication2(void);

struct passwd *
auth_get_user(void);

int allowed_user(struct passwd * pw);;

#define AUTH_FAIL_MAX 6
#define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2)
#define AUTH_FAIL_MSG "Too many authentication failures for %.100s"

#endif