freebsd-nq/include
Bill Paul 04228afa84 "What? He's modifying the NIS protocol definition!?"
No, not really. There are just a couple of long-standing bogosities here
that I feel compelled to fix. :)

There are two small changes here:

1) yp.x actually contains _three_ protocol definitions: YPPROG (standard
   NIS client/server procedures), YPPUSH_XFRRESPPROG (callback handler
   for the YPPROC_XFR service, aka ypxfr/yppush) and YPBINDPROG (for ypbind,
   ypset & friends). The problem is that when you run yp.x through rpcgen(1),
   it generates client and server stubs with hooks for all three services.
   This makes it impossible to actually use the rpcgen-erated code in a
   program that only deals with _one_ of these services (ypserv, ypbind,
   etc...) without manually removing the unneeded stubs (either by hand
   editing or by committing unspeakable horrors with sed). This defeats
   the whole purpose of using rpcgen and is generally annoying.

   What I've done is to insert a few #ifndefs and #endifs to allow a
   programmer to selectively blot out those functions that aren't needed
   for a particular program. For instance, if you do 'rpcgen -DYPSERV_ONLY',
   you'll get only the necessary client/server stubs to implement the
   standard yp client and server functions. If you do 'rpcgen -DYPBIND_ONLY',
   you get only what you need for ypbind. If you don't #define anything,
   you get the whole mess, just like before, so existing programs won't
   notice the difference. (Note that the -D flag is not supported by our
   existing crufty version of rpcgen, but I intend to update it soon.)

2) The definition for the ypresp_key_val structure is actually incorrect
   with respect to reality: the key and val members are specified in the
   wrong order. It should be val/key rather than key/val. For whatever
   the reason, Sun's actual NIS implementation contradicts the protocol
   definition in this case. Again, accounting for this bogosity here is
   cleaner and easier than mangling the output from rpcgen.
1995-12-08 17:58:50 +00:00
..
arpa Update the resolver include files to bind-4.9.3-beta24 level (from beta9p1) 1995-08-20 19:59:28 +00:00
protocols Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
rpc Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
rpcsvc "What? He's modifying the NIS protocol definition!?" 1995-12-08 17:58:50 +00:00
_ctype.h Fix isspecial/isphonogram, they was swapped 1995-11-03 12:25:14 +00:00
a.out.h
ar.h
assert.h
bitstring.h
ctype.h Fix isspecial/isphonogram, they was swapped 1995-11-03 12:25:14 +00:00
db.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
dirent.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
disktab.h
err.h Add err_set_file() and err_set_exit() functions to make it possible for 1995-04-13 18:04:11 +00:00
f2c.h
fnmatch.h
fstab.h
fts.h
glob.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
grp.h
histedit.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
kvm.h Comment out declaration of kvm_uread until it can be fixed correctly. 1995-03-20 16:35:11 +00:00
limits.h
link.h Change ld.so to correctly load dependant libraries for dlopen and unload them 1995-06-27 09:53:27 +00:00
locale.h
Makefile Removed reference to missing mp.h in comment. We have GNU MP now. 1995-11-12 19:29:08 +00:00
malloc.h
math.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
memory.h
mpool.h
ndbm.h
netdb.h Update the resolver include files to bind-4.9.3-beta24 level (from beta9p1) 1995-08-20 19:59:28 +00:00
nl_types.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
nlist.h Document some of the fields used by the new shlib code. 1994-12-23 22:32:48 +00:00
paths.h Due conflict to some obsoleted applications (dump/restore) rename 1995-09-23 15:14:25 +00:00
pwd.h Add a couple of extra #defines for special keys to be embedded in the 1995-03-23 00:08:00 +00:00
ranlib.h
regex.h
regexp.h
resolv.h Update the resolver include files to bind-4.9.3-beta24 level (from beta9p1) 1995-08-20 19:59:28 +00:00
rune.h
runetype.h
setjmp.h
sgtty.h
signal.h Fix standards conformance bugs in <signal.h>: 1995-06-28 02:14:13 +00:00
skey.h
stab.h
stddef.h
stdio.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
stdlib.h Don't declare rune_t, putenv() or setenv() if _POSIX_SOURCE is declared. 1995-04-15 23:48:16 +00:00
strhash.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
string.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
strings.h
struct.h
sysexits.h
tar.h
time.h Define CLK_TCK right. 1995-02-08 18:37:14 +00:00
ttyent.h
tzfile.h
unistd.h Make the argument list for the (non-Posix) fchown() consistent with 1995-02-16 11:10:24 +00:00
utime.h
utmp.h
vis.h