xref: /netbsd/usr.sbin/rpc.yppasswdd/extern.h (revision 07ce4063)
1*07ce4063Ssnj /*	$NetBSD: extern.h,v 1.2 2009/10/20 00:51:14 snj Exp $	*/
2308c65aaSad 
3308c65aaSad /*
4308c65aaSad  * Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
5308c65aaSad  * All rights reserved.
6308c65aaSad  *
7308c65aaSad  * Redistribution and use in source and binary forms, with or without
8308c65aaSad  * modification, are permitted provided that the following conditions
9308c65aaSad  * are met:
10308c65aaSad  * 1. Redistributions of source code must retain the above copyright
11308c65aaSad  *    notice, this list of conditions and the following disclaimer.
12308c65aaSad  * 2. Redistributions in binary form must reproduce the above copyright
13308c65aaSad  *    notice, this list of conditions and the following disclaimer in the
14308c65aaSad  *    documentation and/or other materials provided with the distribution.
15308c65aaSad  *
16308c65aaSad  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
17308c65aaSad  * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18308c65aaSad  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19308c65aaSad  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
20308c65aaSad  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21308c65aaSad  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22308c65aaSad  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23308c65aaSad  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24308c65aaSad  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25308c65aaSad  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26308c65aaSad  * SUCH DAMAGE.
27308c65aaSad  */
28308c65aaSad 
29308c65aaSad /* yppasswdd_mkpw.c */
30308c65aaSad void	make_passwd(yppasswd *, struct svc_req *, SVCXPRT *);
31308c65aaSad 
32308c65aaSad /* rpc.yppasswdd.c */
33308c65aaSad extern int	noshell, nogecos, nopw, domake;
34308c65aaSad extern char	make_arg[_POSIX2_LINE_MAX];
35