1*df57947fSPedro F. Giffuni /*- 2*df57947fSPedro F. Giffuni * SPDX-License-Identifier: BSD-4-Clause 3*df57947fSPedro F. Giffuni * 48256fad9SBill Paul * Copyright (c) 1995, 1996 58256fad9SBill Paul * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. 68256fad9SBill Paul * 78256fad9SBill Paul * Redistribution and use in source and binary forms, with or without 88256fad9SBill Paul * modification, are permitted provided that the following conditions 98256fad9SBill Paul * are met: 108256fad9SBill Paul * 1. Redistributions of source code must retain the above copyright 118256fad9SBill Paul * notice, this list of conditions and the following disclaimer. 128256fad9SBill Paul * 2. Redistributions in binary form must reproduce the above copyright 138256fad9SBill Paul * notice, this list of conditions and the following disclaimer in the 148256fad9SBill Paul * documentation and/or other materials provided with the distribution. 158256fad9SBill Paul * 3. All advertising materials mentioning features or use of this software 168256fad9SBill Paul * must display the following acknowledgement: 178256fad9SBill Paul * This product includes software developed by Bill Paul. 188256fad9SBill Paul * 4. Neither the name of the author nor the names of any co-contributors 198256fad9SBill Paul * may be used to endorse or promote products derived from this software 208256fad9SBill Paul * without specific prior written permission. 218256fad9SBill Paul * 228256fad9SBill Paul * THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND 238256fad9SBill Paul * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 248256fad9SBill Paul * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 258256fad9SBill Paul * ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR CONTRIBUTORS BE LIABLE 268256fad9SBill Paul * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 278256fad9SBill Paul * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 288256fad9SBill Paul * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 298256fad9SBill Paul * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 308256fad9SBill Paul * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 318256fad9SBill Paul * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 328256fad9SBill Paul * SUCH DAMAGE. 338256fad9SBill Paul */ 348256fad9SBill Paul 35ba1556b5SDag-Erling Smørgrav #ifndef _YPPASSWDD_EXTERN_H 36ba1556b5SDag-Erling Smørgrav #define _YPPASSWDD_EXTERN_H 378256fad9SBill Paul 388256fad9SBill Paul #ifndef YPLIBDIR 398256fad9SBill Paul #define YPLIBDIR "/usr/libexec/" 408256fad9SBill Paul #endif 41ba21c862SBill Paul 42ba21c862SBill Paul #ifndef _PATH_YP 43ba21c862SBill Paul #define _PATH_YP "/var/yp/" 44ba21c862SBill Paul #endif 45ba21c862SBill Paul 468256fad9SBill Paul #define MAP_UPDATE "yppwupdate" 478256fad9SBill Paul #define MAP_UPDATE_PATH YPLIBDIR "yppwupdate" 488256fad9SBill Paul 498256fad9SBill Paul extern char *yp_dir; 508256fad9SBill Paul extern char *progname; 51ed4d1c46SDag-Erling Smørgrav extern void do_master(void); 52ed4d1c46SDag-Erling Smørgrav extern void yppasswdprog_1(struct svc_req *, register SVCXPRT *); 53c8c710fdSAlfred Perlstein extern void master_yppasswdprog_1(struct svc_req *, register SVCXPRT *); 54ed4d1c46SDag-Erling Smørgrav extern void reaper(int); 55ed4d1c46SDag-Erling Smørgrav extern void install_reaper(int); 56c8c710fdSAlfred Perlstein extern char *ok_shell(char *); 578256fad9SBill Paul extern char *passfile; 588256fad9SBill Paul extern char *passfile_default; 598256fad9SBill Paul extern char *yppasswd_domain; 608256fad9SBill Paul extern int no_chsh; 618256fad9SBill Paul extern int no_chfn; 628256fad9SBill Paul extern int allow_additions; 638256fad9SBill Paul extern int multidomain; 64589b8bfcSBill Paul extern int resvport; 658b6a78c2SBill Paul extern int inplace; 668256fad9SBill Paul extern int verbose; 67ed4d1c46SDag-Erling Smørgrav extern int _rpc_dtablesize(void); 68ba1556b5SDag-Erling Smørgrav 69ba1556b5SDag-Erling Smørgrav #endif 70