Don't return 0 from rl_probe, because rl(4) is not a best match for
[dragonfly.git] / crypto / openssh / sshlogin.h
1 /*      $OpenBSD: sshlogin.h,v 1.4 2002/08/29 15:57:25 stevesk Exp $    */
2 /*      $FreeBSD: src/crypto/openssh/sshlogin.h,v 1.1.1.1.2.4 2003/02/03 17:31:08 des Exp $     */
3 /*      $DragonFly: src/crypto/openssh/Attic/sshlogin.h,v 1.2 2003/06/17 04:24:36 dillon Exp $  */
4
5 /*
6  * Author: Tatu Ylonen <ylo@cs.hut.fi>
7  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8  *                    All rights reserved
9  *
10  * As far as I am concerned, the code I have written for this software
11  * can be used freely for any purpose.  Any derived versions of this
12  * software must be clearly marked as such, and if the derived work is
13  * incompatible with the protocol description in the RFC file, it must be
14  * called by a name other than "ssh" or "Secure Shell".
15  */
16 #ifndef SSHLOGIN_H
17 #define SSHLOGIN_H
18
19 void
20 record_login(pid_t, const char *, const char *, uid_t,
21     const char *, struct sockaddr *, socklen_t);
22 void   record_logout(pid_t, const char *, const char *);
23 u_long         get_last_login_time(uid_t, const char *, char *, u_int);
24
25 #ifdef LOGIN_NEEDS_UTMPX
26 void    record_utmp_only(pid_t, const char *, const char *, const char *,
27                 struct sockaddr *, socklen_t);
28 #endif
29
30 #endif