sshlogin.h revision 98937
190819Srwatson/*	$OpenBSD: sshlogin.h,v 1.3 2001/06/26 17:27:25 markus Exp $	*/
291826Srwatson
390819Srwatson/*
490819Srwatson * Author: Tatu Ylonen <ylo@cs.hut.fi>
590819Srwatson * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
690819Srwatson *                    All rights reserved
790819Srwatson *
890819Srwatson * As far as I am concerned, the code I have written for this software
990819Srwatson * can be used freely for any purpose.  Any derived versions of this
1090819Srwatson * software must be clearly marked as such, and if the derived work is
1190819Srwatson * incompatible with the protocol description in the RFC file, it must be
1290819Srwatson * called by a name other than "ssh" or "Secure Shell".
1390819Srwatson */
1490819Srwatson#ifndef SSHLOGIN_H
1590819Srwatson#define SSHLOGIN_H
1690819Srwatson
1790819Srwatsonvoid
1890819Srwatsonrecord_login(pid_t, const char *, const char *, uid_t,
1990819Srwatson    const char *, struct sockaddr *);
2090819Srwatsonvoid   record_logout(pid_t, const char *, const char *);
2190819Srwatsonu_long         get_last_login_time(uid_t, const char *, char *, u_int);
2290819Srwatson
2390819Srwatson#ifdef LOGIN_NEEDS_UTMPX
2490819Srwatsonvoid	record_utmp_only(pid_t, const char *, const char *, const char *,
2590819Srwatson		struct sockaddr *);
2690819Srwatson#endif
2790819Srwatson
2890819Srwatson#endif
2990819Srwatson