Deleted Added
full compact
yp_extern.h (30827) yp_extern.h (46186)
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.11 1997/02/22 16:15:11 peter Exp $
32 * $Id: yp_extern.h,v 1.12 1997/10/29 07:25:03 charnier Exp $
33 */
34
35#include <db.h>
36#include <limits.h>
37#include <stdio.h>
38#include <string.h>
39#include <unistd.h>
40#include <sys/cdefs.h>

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

63
64extern int debug;
65extern int ypdb_debug;
66extern int do_dns;
67extern int children;
68extern int resfd;
69extern char *progname;
70extern char *yp_dir;
33 */
34
35#include <db.h>
36#include <limits.h>
37#include <stdio.h>
38#include <string.h>
39#include <unistd.h>
40#include <sys/cdefs.h>

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

63
64extern int debug;
65extern int ypdb_debug;
66extern int do_dns;
67extern int children;
68extern int resfd;
69extern char *progname;
70extern char *yp_dir;
71extern pid_t yp_pid;
72
71extern enum ypstat yp_errno;
72extern void yp_error __P((const char *, ...));
73#ifdef DB_CACHE
74extern int yp_get_record __P(( DB *, const DBT *, DBT *, int));
75#else
76extern int yp_get_record __P(( const char *, const char *, const DBT *, DBT *, int));
77#endif
78extern int yp_first_record __P((const DB *, DBT *, DBT *, int));

--- 35 unchanged lines hidden ---
73extern enum ypstat yp_errno;
74extern void yp_error __P((const char *, ...));
75#ifdef DB_CACHE
76extern int yp_get_record __P(( DB *, const DBT *, DBT *, int));
77#else
78extern int yp_get_record __P(( const char *, const char *, const DBT *, DBT *, int));
79#endif
80extern int yp_first_record __P((const DB *, DBT *, DBT *, int));

--- 35 unchanged lines hidden ---