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.x,v 1.2 1996/07/04 02:08:17 wpaul Exp $
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:
--- 22 unchanged lines hidden (view full) ---
63 * having to recreate the map databases via the DB library each time.
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[] = "$Id: ypxfrd.x,v 1.2 1996/07/04 02:08:17 wpaul Exp $";
72%#endif /* not lint */
73#endif
74
75/* XXX cribbed from yp.x */
76const _YPMAXRECORD = 1024;
77const _YPMAXDOMAIN = 64;
78const _YPMAXMAP = 64;
79const _YPMAXPEER = 64;
--- 96 unchanged lines hidden ---
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.x,v 1.2 1996/07/04 02:08:17 wpaul Exp $
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:
--- 22 unchanged lines hidden (view full) ---
63 * having to recreate the map databases via the DB library each time.
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[] = "$Id: ypxfrd.x,v 1.2 1996/07/04 02:08:17 wpaul Exp $";
72%#endif /* not lint */
73#endif
74
75/* XXX cribbed from yp.x */
76const _YPMAXRECORD = 1024;
77const _YPMAXDOMAIN = 64;
78const _YPMAXMAP = 64;
79const _YPMAXPEER = 64;
--- 96 unchanged lines hidden ---