ypxfrd.x (8af1452cf8dd1b33da881f84e445d5981eaa9613) ypxfrd.x (1542dbb49a51f3757fc2f7e85fcacba70b272cdf)
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

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

60 * the standard yppush/ypxfr transfer method since it saves us from
61 * having to recreate the map databases via the DB library each time.
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
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

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

60 * the standard yppush/ypxfr transfer method since it saves us from
61 * having to recreate the map databases via the DB library each time.
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[] =
70% "$FreeBSD$";
71%#endif /* not lint */
68%#include <sys/cdefs.h>
69%__FBSDID("$FreeBSD$");
72#endif
73
74/* XXX cribbed from yp.x */
75const _YPMAXRECORD = 1024;
76const _YPMAXDOMAIN = 64;
77const _YPMAXMAP = 64;
78const _YPMAXPEER = 64;
79

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

--- 92 unchanged lines hidden ---