xref: /openbsd-src/usr.bin/ssh/sshlogin.h (revision bd9502d503c60bf5de0fd1cfbab7397f3696ad80)
1*bd9502d5Sderaadt /* $OpenBSD: sshlogin.h,v 1.8 2006/08/03 03:34:42 deraadt Exp $ */
256c1c18cSdjm 
356c1c18cSdjm /*
456c1c18cSdjm  * Author: Tatu Ylonen <ylo@cs.hut.fi>
556c1c18cSdjm  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
656c1c18cSdjm  *                    All rights reserved
756c1c18cSdjm  *
856c1c18cSdjm  * As far as I am concerned, the code I have written for this software
956c1c18cSdjm  * can be used freely for any purpose.  Any derived versions of this
1056c1c18cSdjm  * software must be clearly marked as such, and if the derived work is
1156c1c18cSdjm  * incompatible with the protocol description in the RFC file, it must be
1256c1c18cSdjm  * called by a name other than "ssh" or "Secure Shell".
1356c1c18cSdjm  */
143e070facSstevesk 
1556c1c18cSdjm void
1608d1172dSitojun record_login(pid_t, const char *, const char *, uid_t,
17e1f868d9Sstevesk     const char *, struct sockaddr *, socklen_t);
1808d1172dSitojun void	 record_logout(pid_t, const char *);
1930ba66d4Sderaadt time_t	 get_last_login_time(uid_t, const char *, char *, size_t);
20