summaryrefslogtreecommitdiff
path: root/sshlogin.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-26 14:27:35 +1100
committerDamien Miller <djm@mindrot.org>2006-03-26 14:27:35 +1100
commita1690d08b4ce6a1a40786048a6299c2b2d60507f (patch)
tree52cac4c80f858803b96bc9afd302b180952841c9 /sshlogin.h
parent90fdfaf69c9c62476689ccd2dbafe1cce56ee1bd (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.h7
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
17void 17void record_login(pid_t, const char *, const char *, uid_t,
18record_login(pid_t, const char *, const char *, uid_t,
19 const char *, struct sockaddr *, socklen_t); 18 const char *, struct sockaddr *, socklen_t);
20void record_logout(pid_t, const char *, const char *); 19void record_logout(pid_t, const char *, const char *);
21u_long get_last_login_time(uid_t, const char *, char *, u_int); 20time_t get_last_login_time(uid_t, const char *, char *, u_int);
22 21
23#ifdef LOGIN_NEEDS_UTMPX 22#ifdef LOGIN_NEEDS_UTMPX
24void record_utmp_only(pid_t, const char *, const char *, const char *, 23void record_utmp_only(pid_t, const char *, const char *, const char *,