diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-02-02 17:10:11 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-02-02 17:10:11 +1100 |
commit | 42d9dc75ed2eefa6eeffc892f02eb164c1860603 (patch) | |
tree | c10968f34ae3610ac1630718b2b2c967d5a448aa /loginrec.h | |
parent | ad7646a59ab05ed9d6c156ba952725f44c02de7d (diff) | |
download | openssh-git-42d9dc75ed2eefa6eeffc892f02eb164c1860603.tar.gz |
- (dtucker) [auth.c loginrec.h openbsd-compat/{bsd-cray,port-aix}.{c,h}]
Make record_failed_login() call provide hostname rather than having the
implementations having to do lookups themselves. Only affects AIX and
UNICOS (the latter only uses the "user" parameter anyway). ok djm@
Diffstat (limited to 'loginrec.h')
-rw-r--r-- | loginrec.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -35,7 +35,7 @@ #include <netinet/in.h> #include <sys/socket.h> -/* RCSID("$Id: loginrec.h,v 1.8 2005/01/20 11:07:30 dtucker Exp $"); */ +/* RCSID("$Id: loginrec.h,v 1.9 2005/02/02 06:10:11 dtucker Exp $"); */ /** ** you should use the login_* calls to work around platform dependencies @@ -132,4 +132,6 @@ char *line_fullname(char *dst, const char *src, int dstsize); char *line_stripname(char *dst, const char *src, int dstsize); char *line_abbrevname(char *dst, const char *src, int dstsize); +void record_failed_login(const char *, const char *, const char *); + #endif /* _HAVE_LOGINREC_H_ */ |