114062Swpaul/* 214062Swpaul * Copyright (c) 1995, 1996 314062Swpaul * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. 414062Swpaul * 514062Swpaul * Redistribution and use in source and binary forms, with or without 614062Swpaul * modification, are permitted provided that the following conditions 714062Swpaul * are met: 814062Swpaul * 1. Redistributions of source code must retain the above copyright 914062Swpaul * notice, this list of conditions and the following disclaimer. 1014062Swpaul * 2. Redistributions in binary form must reproduce the above copyright 1114062Swpaul * notice, this list of conditions and the following disclaimer in the 1214062Swpaul * documentation and/or other materials provided with the distribution. 1314062Swpaul * 3. All advertising materials mentioning features or use of this software 1414062Swpaul * must display the following acknowledgement: 1514062Swpaul * This product includes software developed by Bill Paul. 1614062Swpaul * 4. Neither the name of the author nor the names of any co-contributors 1714062Swpaul * may be used to endorse or promote products derived from this software 1814062Swpaul * without specific prior written permission. 1914062Swpaul * 2014062Swpaul * THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND 2114062Swpaul * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2214062Swpaul * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2314062Swpaul * ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR CONTRIBUTORS BE LIABLE 2414062Swpaul * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2514062Swpaul * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2614062Swpaul * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2714062Swpaul * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2814062Swpaul * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2914062Swpaul * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3014062Swpaul * SUCH DAMAGE. 3114062Swpaul * 3250479Speter * $FreeBSD$ 3314062Swpaul */ 3414062Swpaul 3596222Sdes#ifndef _YPPASSWDD_EXTERN_H 3696222Sdes#define _YPPASSWDD_EXTERN_H 3714062Swpaul 3814062Swpaul#ifndef YPLIBDIR 3914062Swpaul#define YPLIBDIR "/usr/libexec/" 4014062Swpaul#endif 4116649Swpaul 4216649Swpaul#ifndef _PATH_YP 4316649Swpaul#define _PATH_YP "/var/yp/" 4416649Swpaul#endif 4516649Swpaul 4614062Swpaul#define MAP_UPDATE "yppwupdate" 4714062Swpaul#define MAP_UPDATE_PATH YPLIBDIR "yppwupdate" 4814062Swpaul 4914062Swpaulextern char *yp_dir; 5014062Swpaulextern char *progname; 5190297Sdesextern void do_master(void); 5290297Sdesextern void yppasswdprog_1(struct svc_req *, register SVCXPRT *); 5399824Salfredextern void master_yppasswdprog_1(struct svc_req *, register SVCXPRT *); 5490297Sdesextern void reaper(int); 5590297Sdesextern void install_reaper(int); 5699824Salfredextern char *ok_shell(char *); 5714062Swpaulextern char *passfile; 5814062Swpaulextern char *passfile_default; 5914062Swpaulextern char *yppasswd_domain; 6014062Swpaulextern int no_chsh; 6114062Swpaulextern int no_chfn; 6214062Swpaulextern int allow_additions; 6314062Swpaulextern int multidomain; 6414241Swpaulextern int resvport; 6516134Swpaulextern int inplace; 6614062Swpaulextern int verbose; 6790297Sdesextern int _rpc_dtablesize(void); 6896222Sdes 6996222Sdes#endif 70