xref: /onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/authuser.h (revision 0:68f95e015346)
1 #pragma ident	"%Z%%M%	%I%	%E% SMI"
2 
3 /****************************************************************************
4 
5   Copyright (c) 1999,2000 WU-FTPD Development Group.
6   All rights reserved.
7 
8   Portions Copyright (c) 1980, 1985, 1988, 1989, 1990, 1991, 1993, 1994
9     The Regents of the University of California.
10   Portions Copyright (c) 1993, 1994 Washington University in Saint Louis.
11   Portions Copyright (c) 1996, 1998 Berkeley Software Design, Inc.
12   Portions Copyright (c) 1989 Massachusetts Institute of Technology.
13   Portions Copyright (c) 1998 Sendmail, Inc.
14   Portions Copyright (c) 1983, 1995, 1996, 1997 Eric P.  Allman.
15   Portions Copyright (c) 1997 by Stan Barber.
16   Portions Copyright (c) 1997 by Kent Landfield.
17   Portions Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997
18     Free Software Foundation, Inc.
19 
20   Use and distribution of this software and its source code are governed
21   by the terms and conditions of the WU-FTPD Software License ("LICENSE").
22 
23   If you did not receive a copy of the license, it may be obtained online
24   at http://www.wu-ftpd.org/license.html.
25 
26   $Id: authuser.h,v 1.4 2000/07/01 18:36:28 wuftpd Exp $
27 
28 ****************************************************************************/
29 #ifndef AUTHUSER_H
30 #define AUTHUSER_H
31 
32 extern unsigned short auth_tcpport;
33 
34 extern char *auth_xline(register char *user, register int fd, register long unsigned int *in);
35 
36 extern int auth_fd(register int fd, register long unsigned int *in, register short unsigned int *local, register short unsigned int *remote);
37 
38 extern char *auth_tcpuser(register long unsigned int in, register short unsigned int local, register short unsigned int remote);
39 #endif
40