sshlogin.h revision 103134
1231990Smp/* $OpenBSD: sshlogin.h,v 1.3 2001/06/26 17:27:25 markus Exp $ */ 283098Smp/* $FreeBSD: head/crypto/openssh/sshlogin.h 103134 2002-09-09 16:49:11Z ume $ */ 383098Smp 4231990Smp/* 5231990Smp * Author: Tatu Ylonen <ylo@cs.hut.fi> 6231990Smp * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 7231990Smp * All rights reserved 8231990Smp * 9231990Smp * As far as I am concerned, the code I have written for this software 10231990Smp * can be used freely for any purpose. Any derived versions of this 11231990Smp * software must be clearly marked as such, and if the derived work is 12231990Smp * incompatible with the protocol description in the RFC file, it must be 13231990Smp * called by a name other than "ssh" or "Secure Shell". 14231990Smp */ 15231990Smp#ifndef SSHLOGIN_H 16231990Smp#define SSHLOGIN_H 1783098Smp 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