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) | |
download | openssh-git-a1690d08b4ce6a1a40786048a6299c2b2d60507f.tar.gz |
- 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
@@ -1,4 +1,4 @@ -/* $OpenBSD: sshlogin.h,v 1.4 2002/08/29 15:57:25 stevesk Exp $ */ +/* $OpenBSD: sshlogin.h,v 1.5 2006/03/25 18:36:15 deraadt Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -14,11 +14,10 @@ #ifndef SSHLOGIN_H #define SSHLOGIN_H -void -record_login(pid_t, const char *, const char *, uid_t, +void record_login(pid_t, const char *, const char *, uid_t, const char *, struct sockaddr *, socklen_t); void record_logout(pid_t, const char *, const char *); -u_long get_last_login_time(uid_t, const char *, char *, u_int); +time_t get_last_login_time(uid_t, const char *, char *, u_int); #ifdef LOGIN_NEEDS_UTMPX void record_utmp_only(pid_t, const char *, const char *, const char *, |