Deleted Added
full compact
yp_extern.h (12892) yp_extern.h (12997)
1/*
2 * Copyright (c) 1995
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
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 * $Id: yp_extern.h,v 1.9 1995/12/16 04:01:55 wpaul Exp $
32 * $Id: yp_extern.h,v 1.1.1.1 1995/12/16 20:54:17 wpaul Exp $
33 */
34#include <stdio.h>
35#include <string.h>
36#include <unistd.h>
37#include <sys/cdefs.h>
38#include <sys/types.h>
39#include <limits.h>
40#include <db.h>

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

52#define MAX_CHILDREN 20
53#endif
54
55/*
56 * External functions and variables.
57 */
58
59extern int debug;
33 */
34#include <stdio.h>
35#include <string.h>
36#include <unistd.h>
37#include <sys/cdefs.h>
38#include <sys/types.h>
39#include <limits.h>
40#include <db.h>

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

52#define MAX_CHILDREN 20
53#endif
54
55/*
56 * External functions and variables.
57 */
58
59extern int debug;
60extern int ypdb_debug;
60extern int do_dns;
61extern int children;
62extern char *progname;
63extern char *yp_dir;
64extern int yp_errno;
65extern void yp_error __P((const char *, ...));
66extern int yp_get_record __P(( const char *, const char *, const DBT *, DBT *, int));
67extern int yp_first_record __P((const DB *, DBT *, DBT *));
68extern int yp_next_record __P((const DB *, DBT *, DBT *, int));
69extern char *yp_dnsname __P(( char * ));
70extern char *yp_dnsaddr __P(( const char * ));
71extern int yp_access __P((const char *, const struct svc_req * ));
72extern int yp_validdomain __P((const char * ));
73extern DB *yp_open_db __P(( const char *, const char *));
61extern int do_dns;
62extern int children;
63extern char *progname;
64extern char *yp_dir;
65extern int yp_errno;
66extern void yp_error __P((const char *, ...));
67extern int yp_get_record __P(( const char *, const char *, const DBT *, DBT *, int));
68extern int yp_first_record __P((const DB *, DBT *, DBT *));
69extern int yp_next_record __P((const DB *, DBT *, DBT *, int));
70extern char *yp_dnsname __P(( char * ));
71extern char *yp_dnsaddr __P(( const char * ));
72extern int yp_access __P((const char *, const struct svc_req * ));
73extern int yp_validdomain __P((const char * ));
74extern DB *yp_open_db __P(( const char *, const char *));