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 $ */
3 /* $DragonFly: src/crypto/openssh/Attic/sshlogin.h,v 1.2 2003/06/17 04:24:36 dillon Exp $ */
6 * Author: Tatu Ylonen <ylo@cs.hut.fi>
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
10 * As far as I am concerned, the code I have written for this software
11 * can be used freely for any purpose. Any derived versions of this
12 * software must be clearly marked as such, and if the derived work is
13 * incompatible with the protocol description in the RFC file, it must be
14 * called by a name other than "ssh" or "Secure Shell".
20 record_login(pid_t, const char *, const char *, uid_t,
21 const char *, struct sockaddr *, socklen_t);
22 void record_logout(pid_t, const char *, const char *);
23 u_long get_last_login_time(uid_t, const char *, char *, u_int);
25 #ifdef LOGIN_NEEDS_UTMPX
26 void record_utmp_only(pid_t, const char *, const char *, const char *,
27 struct sockaddr *, socklen_t);