Deleted Added
full compact
ypxfrd_extern.h (50479) ypxfrd_extern.h (90297)
1/*
2 * Copyright (c) 1995, 1996
3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
1/*
2 * Copyright (c) 1995, 1996
3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * $FreeBSD: head/usr.sbin/rpc.ypxfrd/ypxfrd_extern.h 50479 1999-08-28 01:35:59Z peter $
32 * $FreeBSD: head/usr.sbin/rpc.ypxfrd/ypxfrd_extern.h 90297 2002-02-06 13:30:31Z des $
33 */
34
35#ifndef MAX_CHILDREN
36#define MAX_CHILDREN 20
37#endif
38
39#ifndef XFRBLOCKSIZE
40#define XFRBLOCKSIZE YPXFRBLOCK
41#endif
42
43extern int forked;
44extern int children;
33 */
34
35#ifndef MAX_CHILDREN
36#define MAX_CHILDREN 20
37#endif
38
39#ifndef XFRBLOCKSIZE
40#define XFRBLOCKSIZE YPXFRBLOCK
41#endif
42
43extern int forked;
44extern int children;
45extern void load_securenets __P(( void ));
46extern void yp_error __P((const char *, ...));
47extern int yp_access __P((const char *, const struct svc_req * ));
48extern int yp_validdomain __P((const char * ));
45extern void load_securenets(void);
46extern void yp_error(const char *, ...);
47extern int yp_access(const char *, const struct svc_req *);
48extern int yp_validdomain(const char *);
49extern char *yp_dir;
49extern char *yp_dir;
50extern void ypxfrd_freebsd_prog_1 __P(( struct svc_req *, register SVCXPRT * ));
50extern void ypxfrd_freebsd_prog_1(struct svc_req *, register SVCXPRT *);