diff options
author | Damien Miller <djm@mindrot.org> | 2006-03-26 14:27:35 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-03-26 14:27:35 +1100 |
commit | a1690d08b4ce6a1a40786048a6299c2b2d60507f (patch) | |
tree | 52cac4c80f858803b96bc9afd302b180952841c9 /sshlogin.h | |
parent | 90fdfaf69c9c62476689ccd2dbafe1cce56ee1bd (diff) |
- deraadt@cvs.openbsd.org 2006/03/25 18:36:15
[sshlogin.c sshlogin.h]
nicer size_t and time_t types
Diffstat (limited to 'sshlogin.h')
-rw-r--r-- | sshlogin.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sshlogin.h b/sshlogin.h index 1c8bfad32..a3d0dd492 100644 --- a/sshlogin.h +++ b/sshlogin.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshlogin.h,v 1.4 2002/08/29 15:57:25 stevesk Exp $ */ | 1 | /* $OpenBSD: sshlogin.h,v 1.5 2006/03/25 18:36:15 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -14,11 +14,10 @@ | |||
14 | #ifndef SSHLOGIN_H | 14 | #ifndef SSHLOGIN_H |
15 | #define SSHLOGIN_H | 15 | #define SSHLOGIN_H |
16 | 16 | ||
17 | void | 17 | void record_login(pid_t, const char *, const char *, uid_t, |
18 | record_login(pid_t, const char *, const char *, uid_t, | ||
19 | const char *, struct sockaddr *, socklen_t); | 18 | const char *, struct sockaddr *, socklen_t); |
20 | void record_logout(pid_t, const char *, const char *); | 19 | void record_logout(pid_t, const char *, const char *); |
21 | u_long get_last_login_time(uid_t, const char *, char *, u_int); | 20 | time_t get_last_login_time(uid_t, const char *, char *, u_int); |
22 | 21 | ||
23 | #ifdef LOGIN_NEEDS_UTMPX | 22 | #ifdef LOGIN_NEEDS_UTMPX |
24 | void record_utmp_only(pid_t, const char *, const char *, const char *, | 23 | void record_utmp_only(pid_t, const char *, const char *, const char *, |