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) |
- (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
diff --git a/loginrec.h b/loginrec.h index 6b7233256..d1a12a853 100644 --- a/loginrec.h +++ b/loginrec.h | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <netinet/in.h> | 35 | #include <netinet/in.h> |
36 | #include <sys/socket.h> | 36 | #include <sys/socket.h> |
37 | 37 | ||
38 | /* RCSID("$Id: loginrec.h,v 1.8 2005/01/20 11:07:30 dtucker Exp $"); */ | 38 | /* RCSID("$Id: loginrec.h,v 1.9 2005/02/02 06:10:11 dtucker Exp $"); */ |
39 | 39 | ||
40 | /** | 40 | /** |
41 | ** you should use the login_* calls to work around platform dependencies | 41 | ** 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); | |||
132 | char *line_stripname(char *dst, const char *src, int dstsize); | 132 | char *line_stripname(char *dst, const char *src, int dstsize); |
133 | char *line_abbrevname(char *dst, const char *src, int dstsize); | 133 | char *line_abbrevname(char *dst, const char *src, int dstsize); |
134 | 134 | ||
135 | void record_failed_login(const char *, const char *, const char *); | ||
136 | |||
135 | #endif /* _HAVE_LOGINREC_H_ */ | 137 | #endif /* _HAVE_LOGINREC_H_ */ |