1162856Sdes/* $OpenBSD: sshlogin.h,v 1.8 2006/08/03 03:34:42 deraadt Exp $ */ 276259Sgreen 376259Sgreen/* 476259Sgreen * Author: Tatu Ylonen <ylo@cs.hut.fi> 576259Sgreen * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 676259Sgreen * All rights reserved 776259Sgreen * 876259Sgreen * As far as I am concerned, the code I have written for this software 976259Sgreen * can be used freely for any purpose. Any derived versions of this 1076259Sgreen * software must be clearly marked as such, and if the derived work is 1176259Sgreen * incompatible with the protocol description in the RFC file, it must be 1276259Sgreen * called by a name other than "ssh" or "Secure Shell". 1376259Sgreen */ 1476259Sgreen 15162856Sdesvoid record_login(pid_t, const char *, const char *, uid_t, 16103134Sume const char *, struct sockaddr *, socklen_t); 1798937Sdesvoid record_logout(pid_t, const char *, const char *); 18255767Sdestime_t get_last_login_time(uid_t, const char *, char *, size_t); 1976259Sgreen 2098937Sdes#ifdef LOGIN_NEEDS_UTMPX 2198937Sdesvoid record_utmp_only(pid_t, const char *, const char *, const char *, 22103134Sume struct sockaddr *, socklen_t); 2376259Sgreen#endif 24