freebsd-skq/include
wpaul ffe43a7095 There are a few small additions to the protocol to make it
easier to use in mixed environments:

- Add three new members to the request structure:

  - a filename specification
  - a database type specification
  - a system byte prder specification

  These allow the client to ask the server for a particular type of
  database (Berkeley DB hash/btree/recno, GNU GDBM, dbm, ndbm, etc...)
  and get back a meaningful error if the server doesn't support it.
  The byte order spec is needed if the database type is byte order
  sensntive. You don't, for example, want to read an ndbm database
  from a big endian machine on a little endian machine (the ndbm code
  will explode). The filename spec lets the client handle things like
  ndbm which uses two seperate files per database (foo.dir and foo.pag).
  The client can ask for each half, one at a time.

- Add a list of database types and byte order values. Each list has
  a wildcard 'ANY' entry which lets the client ask for whatever the
  server supports. (XFR_ENDIAN_ANY is useful with the Berkeley DB hash
  method for instance, since it isn't byte order sensitive.)

- Add two newserver failure codes: XFR_DB_TYPE_MISMATCH and
  XFR_DB_ENDIAN_MISMATCH. The server uses these to tell the client
  that it doesn't support the requested type/byte order.

These changes were made at the suggestion of Thorsten Kukuk, the
current maintainer of the Linux ypserv distribution. This allows
Linux and FreeBSD NIS servers to use the same ypxfrd protocol and
avoid accidentally exchanging incompatible map files.
1996-07-04 02:08:17 +00:00
..
arpa Add an independent implementation of addr2ascii(3) and ascii2addr(3) 1996-06-13 20:45:05 +00:00
protocols Protocol definitions for RIPv2. 1996-05-30 16:31:04 +00:00
rpc Remove unnecessary typedef. All inclusions of <rpc/auth.h> in the source 1996-01-31 08:02:11 +00:00
rpcsvc There are a few small additions to the protocol to make it 1996-07-04 02:08:17 +00:00
_ctype.h Fixed longstanding namespace convolution involving rune_t vs wchar_t. 1996-05-01 00:40:10 +00:00
a.out.h Woops, include machine/exec.h, too. 1994-09-24 21:49:20 +00:00
ar.h
assert.h
bitstring.h
ctype.h Fixed longstanding namespace convolution involving rune_t vs wchar_t. 1996-05-01 00:40:10 +00:00
db.h Fix conflicts and merge into mainline (this may get cvs admined out and redone properly by Peter later) 1996-02-27 19:42:44 +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 Install f2c.h for FORTRAN support. 1994-10-26 18:35:40 +00:00
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 Fix a bunch of spelling errors in the comment fields 1996-01-30 23:33:04 +00:00
locale.h
Makefile Add `netkey' to list of kernel directories to include in /usr/include. 1996-06-15 18:05:36 +00:00
malloc.h By Bruce and Joerg suggestions and by looking into June version 1994-11-17 11:04:49 +00:00
math.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
memory.h
mpool.h Fix conflicts and merge into mainline (this may get cvs admined out and redone properly by Peter later) 1996-02-27 19:42:44 +00:00
ndbm.h Don't reference ndbm(3) manpage. Everything is covered by db(3). 1996-03-03 09:04:40 +00:00
netdb.h Fix a bunch of spelling errors in the comment fields 1996-01-30 23:33:04 +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
pthread.h Submitted by: john birrel 1996-01-22 00:24:56 +00:00
pwd.h NIS cleanups and fixes, the next generation. 1996-04-16 00:22:41 +00:00
ranlib.h
regex.h
regexp.h
resolv.h Fix a bunch of spelling errors in the comment fields 1996-01-30 23:33:04 +00:00
rune.h
runetype.h Fixed longstanding namespace convolution involving rune_t vs wchar_t. 1996-05-01 00:40:10 +00:00
setjmp.h Delete vax' (and i386' and `hp300' etc.) namespace pollution. 1994-10-30 00:21:30 +00:00
sgtty.h
signal.h Added missing prototype for sigaltstack() 1996-06-28 04:27:04 +00:00
stab.h Made them idempotent. 1994-08-21 04:03:58 +00:00
stddef.h Fixed longstanding namespace convolution involving rune_t vs wchar_t. 1996-05-01 00:40:10 +00:00
stdio.h remove zopen, zopen is not part of libc. 1996-07-02 23:04:50 +00:00
stdlib.h Fixed longstanding namespace convolution involving rune_t vs wchar_t. 1996-05-01 00:40:10 +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 Reviewed by: julian and (hsu?) 1996-01-22 00:02:33 +00:00
timers.h Submitted by: john birrel 1996-01-22 00:24:56 +00:00
ttyent.h
unistd.h Add prototype for rfork(). 1996-02-23 19:45:46 +00:00
utime.h
utmp.h
vis.h Made this work with the documented prerequisite #includes (none). 1996-05-01 00:57:57 +00:00