1 /* $OpenBSD: sshlogin.h,v 1.4 2002/08/29 15:57:25 stevesk Exp $ */
2 /* $FreeBSD: src/crypto/openssh/sshlogin.h,v 1.1.1.1.2.4 2003/02/03 17:31:08 des Exp $ */
5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
9 * As far as I am concerned, the code I have written for this software
10 * can be used freely for any purpose. Any derived versions of this
11 * software must be clearly marked as such, and if the derived work is
12 * incompatible with the protocol description in the RFC file, it must be
13 * called by a name other than "ssh" or "Secure Shell".
19 record_login(pid_t, const char *, const char *, uid_t,
20 const char *, struct sockaddr *, socklen_t);
21 void record_logout(pid_t, const char *, const char *);
22 u_long get_last_login_time(uid_t, const char *, char *, u_int);
24 #ifdef LOGIN_NEEDS_UTMPX
25 void record_utmp_only(pid_t, const char *, const char *, const char *,
26 struct sockaddr *, socklen_t);