summaryrefslogtreecommitdiff
path: root/sshlogin.h
diff options
context:
space:
mode:
Diffstat (limited to 'sshlogin.h')
-rw-r--r--sshlogin.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/sshlogin.h b/sshlogin.h
index 1c8bfad32..500d3fefd 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.8 2006/08/03 03:34:42 deraadt Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -11,18 +11,13 @@
11 * incompatible with the protocol description in the RFC file, it must be 11 * incompatible with the protocol description in the RFC file, it must be
12 * called by a name other than "ssh" or "Secure Shell". 12 * called by a name other than "ssh" or "Secure Shell".
13 */ 13 */
14#ifndef SSHLOGIN_H
15#define SSHLOGIN_H
16 14
17void 15void 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); 16 const char *, struct sockaddr *, socklen_t);
20void record_logout(pid_t, const char *, const char *); 17void record_logout(pid_t, const char *, const char *);
21u_long get_last_login_time(uid_t, const char *, char *, u_int); 18time_t get_last_login_time(uid_t, const char *, char *, u_int);
22 19
23#ifdef LOGIN_NEEDS_UTMPX 20#ifdef LOGIN_NEEDS_UTMPX
24void record_utmp_only(pid_t, const char *, const char *, const char *, 21void record_utmp_only(pid_t, const char *, const char *, const char *,
25 struct sockaddr *, socklen_t); 22 struct sockaddr *, socklen_t);
26#endif 23#endif
27
28#endif