1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/include
Bill Paul 74e4b87eb6 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
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
disktab.h
err.h
f2c.h
fnmatch.h
fstab.h
fts.h
glob.h
grp.h
histedit.h
kvm.h
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
math.h
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
nlist.h
paths.h
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
sgtty.h
signal.h Added missing prototype for sigaltstack() 1996-06-28 04:27:04 +00:00
stab.h
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
string.h
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