yppasswdd_extern.h revision 99824
1186681Sed/* 2186681Sed * Copyright (c) 1995, 1996 3186681Sed * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. 4186681Sed * 5186681Sed * Redistribution and use in source and binary forms, with or without 6186681Sed * modification, are permitted provided that the following conditions 7186681Sed * are met: 8186681Sed * 1. Redistributions of source code must retain the above copyright 9186681Sed * notice, this list of conditions and the following disclaimer. 10186681Sed * 2. Redistributions in binary form must reproduce the above copyright 11186681Sed * notice, this list of conditions and the following disclaimer in the 12186681Sed * documentation and/or other materials provided with the distribution. 13186681Sed * 3. All advertising materials mentioning features or use of this software 14186681Sed * must display the following acknowledgement: 15186681Sed * This product includes software developed by Bill Paul. 16186681Sed * 4. Neither the name of the author nor the names of any co-contributors 17186681Sed * may be used to endorse or promote products derived from this software 18186681Sed * without specific prior written permission. 19186681Sed * 20186681Sed * THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND 21186681Sed * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22186681Sed * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23186681Sed * ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR CONTRIBUTORS BE LIABLE 24186681Sed * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25186681Sed * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26186681Sed * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27186681Sed * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28186681Sed * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29186681Sed * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30186681Sed * SUCH DAMAGE. 31186681Sed * 32186681Sed * $FreeBSD: head/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h 99824 2002-07-11 21:28:16Z alfred $ 33186681Sed */ 34186681Sed 35186681Sed#ifndef _YPPASSWDD_EXTERN_H 36186681Sed#define _YPPASSWDD_EXTERN_H 37186681Sed 38206141Sed#ifndef YPLIBDIR 39186681Sed#define YPLIBDIR "/usr/libexec/" 40186681Sed#endif 41186681Sed 42186681Sed#ifndef _PATH_YP 43186681Sed#define _PATH_YP "/var/yp/" 44221698Sed#endif 45221698Sed 46221698Sed#define MAP_UPDATE "yppwupdate" 47186681Sed#define MAP_UPDATE_PATH YPLIBDIR "yppwupdate" 48199171Sed 49199171Sedextern char *yp_dir; 50199171Sedextern char *progname; 51199171Sedextern void do_master(void); 52199171Sedextern void yppasswdprog_1(struct svc_req *, register SVCXPRT *); 53199171Sedextern void master_yppasswdprog_1(struct svc_req *, register SVCXPRT *); 54199171Sedextern void reaper(int); 55199171Sedextern void install_reaper(int); 56199171Sedextern char *ok_shell(char *); 57186681Sedextern char *passfile; 58186681Sedextern char *passfile_default; 59186681Sedextern char *yppasswd_domain; 60186681Sedextern int no_chsh; 61197470Sedextern int no_chfn; 62197470Sedextern int allow_additions; 63197470Sedextern int multidomain; 64197470Sedextern int resvport; 65186681Sedextern int inplace; 66186681Sedextern int verbose; 67186681Sedextern int _rpc_dtablesize(void); 68186681Sed 69186681Sed#endif 70186681Sed