Deleted Added
full compact
ypxfrd_getmap.c (16958) ypxfrd_getmap.c (19181)
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 * $Id: ypxfrd_getmap.c,v 1.7 1996/06/02 19:51:33 wpaul Exp wpaul $
32 * $Id: ypxfrd_getmap.c,v 1.9 1996/10/25 15:58:15 wpaul Exp $
33 */
34
33 */
34
35#include <stdlib.h>
36#include <unistd.h>
37#include <string.h>
35#include <sys/types.h>
36#include <time.h>
37#include <rpcsvc/ypxfrd.h>
38#include <rpcsvc/yp.h>
39#include <rpc/rpc.h>
40#include <sys/uio.h>
41#include <sys/fcntl.h>
42#include <sys/stat.h>
43#include <errno.h>
44#include "ypxfr_extern.h"
45
46#ifndef lint
38#include <sys/types.h>
39#include <time.h>
40#include <rpcsvc/ypxfrd.h>
41#include <rpcsvc/yp.h>
42#include <rpc/rpc.h>
43#include <sys/uio.h>
44#include <sys/fcntl.h>
45#include <sys/stat.h>
46#include <errno.h>
47#include "ypxfr_extern.h"
48
49#ifndef lint
47static const char rcsid[] = "$Id: ypxfrd_getmap.c,v 1.7 1996/06/02 19:51:33 wpaul Exp wpaul $";
50static const char rcsid[] = "$Id: ypxfrd_getmap.c,v 1.9 1996/10/25 15:58:15 wpaul Exp $";
48#endif
49
50int fp = 0;
51
52static bool_t xdr_my_xfr(register XDR *xdrs, xfr *objp)
53{
54 while(1) {
55 if (!xdr_xfr(xdrs, objp))

--- 89 unchanged lines hidden ---
51#endif
52
53int fp = 0;
54
55static bool_t xdr_my_xfr(register XDR *xdrs, xfr *objp)
56{
57 while(1) {
58 if (!xdr_xfr(xdrs, objp))

--- 89 unchanged lines hidden ---