diff options
author | Colin Watson <cjwatson@debian.org> | 2005-05-25 11:01:01 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2005-05-25 11:01:01 +0000 |
commit | e88de75a1a236779a10e8ccbcc51d25308be8840 (patch) | |
tree | 7495477a2a7d0cac17a9fcded020b6ea816182ef /loginrec.h | |
parent | 30a0f9443782cd9d7308acd09430bf586186aa55 (diff) | |
parent | 5d05471f6657646d1d6500c7c43134462c407ee6 (diff) |
Merge 4.0p1 to the trunk.
Diffstat (limited to 'loginrec.h')
-rw-r--r-- | loginrec.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/loginrec.h b/loginrec.h index 7f932c296..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.7 2003/06/03 02:18:50 djm 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 |
@@ -62,7 +62,7 @@ union login_netinfo { | |||
62 | /* string lengths - set very long */ | 62 | /* string lengths - set very long */ |
63 | #define LINFO_PROGSIZE 64 | 63 | #define LINFO_PROGSIZE 64 |
64 | #define LINFO_LINESIZE 64 | 64 | #define LINFO_LINESIZE 64 |
65 | #define LINFO_NAMESIZE 64 | 65 | #define LINFO_NAMESIZE 128 |
66 | #define LINFO_HOSTSIZE 256 | 66 | #define LINFO_HOSTSIZE 256 |
67 | 67 | ||
68 | struct logininfo { | 68 | struct logininfo { |
@@ -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_ */ |