Deleted Added
full compact
ypxfrd.x (50473) ypxfrd.x (81586)
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

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

23 * ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR CONTRIBUTORS BE LIABLE
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.
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

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

23 * ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR CONTRIBUTORS BE LIABLE
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/include/rpcsvc/ypxfrd.x 50473 1999-08-27 23:45:13Z peter $
33 */
34
35/*
36 * This protocol definition file describes a file transfer
37 * system used to very quickly move NIS maps from one host to
38 * another. This is similar to what Sun does with their ypxfrd
39 * protocol, but it must be stressed that this protocol is _NOT_
40 * compatible with Sun's. There are a couple of reasons for this:

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

64 * For example: creating a passwd database with 30,000 entries with yp_mkdb
65 * can take a couple of minutes, but to just copy the file takes only a few
66 * seconds.
67 */
68
69#ifndef RPC_HDR
70%#ifndef lint
71%static const char rcsid[] =
31 */
32
33/*
34 * This protocol definition file describes a file transfer
35 * system used to very quickly move NIS maps from one host to
36 * another. This is similar to what Sun does with their ypxfrd
37 * protocol, but it must be stressed that this protocol is _NOT_
38 * compatible with Sun's. There are a couple of reasons for this:

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

62 * For example: creating a passwd database with 30,000 entries with yp_mkdb
63 * can take a couple of minutes, but to just copy the file takes only a few
64 * seconds.
65 */
66
67#ifndef RPC_HDR
68%#ifndef lint
69%static const char rcsid[] =
72% "$FreeBSD: head/include/rpcsvc/ypxfrd.x 50473 1999-08-27 23:45:13Z peter $";
70% "$FreeBSD: head/include/rpcsvc/ypxfrd.x 81586 2001-08-13 14:06:34Z ru $";
73%#endif /* not lint */
74#endif
75
76/* XXX cribbed from yp.x */
77const _YPMAXRECORD = 1024;
78const _YPMAXDOMAIN = 64;
79const _YPMAXMAP = 64;
80const _YPMAXPEER = 64;

--- 93 unchanged lines hidden ---
71%#endif /* not lint */
72#endif
73
74/* XXX cribbed from yp.x */
75const _YPMAXRECORD = 1024;
76const _YPMAXDOMAIN = 64;
77const _YPMAXMAP = 64;
78const _YPMAXPEER = 64;

--- 93 unchanged lines hidden ---