sshlogin.h revision 103134
1/*	$OpenBSD: sshlogin.h,v 1.3 2001/06/26 17:27:25 markus Exp $	*/
2/* $FreeBSD: head/crypto/openssh/sshlogin.h 103134 2002-09-09 16:49:11Z ume $ */
3
4/*
5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
7 *                    All rights reserved
8 *
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".
14 */
15#ifndef SSHLOGIN_H
16#define SSHLOGIN_H
17
18void
19record_login(pid_t, const char *, const char *, uid_t,
20    const char *, struct sockaddr *, socklen_t);
21void   record_logout(pid_t, const char *, const char *);
22u_long         get_last_login_time(uid_t, const char *, char *, u_int);
23
24#ifdef LOGIN_NEEDS_UTMPX
25void	record_utmp_only(pid_t, const char *, const char *, const char *,
26		struct sockaddr *, socklen_t);
27#endif
28
29#endif
30