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

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

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%#include <sys/cdefs.h>
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

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

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%#include <sys/cdefs.h>
69%__FBSDID("$FreeBSD: head/include/rpcsvc/ypxfrd.x 114629 2003-05-04 02:51:42Z obrien $");
69%__FBSDID("$FreeBSD: head/include/rpcsvc/ypxfrd.x 249583 2013-04-17 11:42:40Z gabor $");
70#endif
71
72/* XXX cribbed from yp.x */
73const _YPMAXRECORD = 1024;
74const _YPMAXDOMAIN = 64;
75const _YPMAXMAP = 64;
76const _YPMAXPEER = 64;
77
70#endif
71
72/* XXX cribbed from yp.x */
73const _YPMAXRECORD = 1024;
74const _YPMAXDOMAIN = 64;
75const _YPMAXMAP = 64;
76const _YPMAXPEER = 64;
77
78/* Suggested default -- not necesarrily the one used. */
78/* Suggested default -- not necessarily the one used. */
79const YPXFRBLOCK = 32767;
80
81/*
82 * Possible return codes from the remote server.
83 */
84enum xfrstat {
85 XFR_REQUEST_OK = 1, /* Transfer request granted */
86 XFR_DENIED = 2, /* Transfer request denied */

--- 83 unchanged lines hidden ---
79const YPXFRBLOCK = 32767;
80
81/*
82 * Possible return codes from the remote server.
83 */
84enum xfrstat {
85 XFR_REQUEST_OK = 1, /* Transfer request granted */
86 XFR_DENIED = 2, /* Transfer request denied */

--- 83 unchanged lines hidden ---