freebsd-nq/usr.sbin/ypserv
Bill Paul 79acf67fce Re-implement the DB handle cache using a circular queue and manage
it with the CIRCLEQ macros. This simplifies the code a little, makes
it somewhat easier to read, and may be a little faster. (Actually I think
the performace is about the same.)

Also, in the non DB_CACHE case, save copies of data returned from
the database library in a static buffer, just in case we decide to use
it after the database has been closed. Technically, the memory that the
data pointers refer to belongs to the DB package and we can't count on
it being there after the database has been closed -- the DB package
frees its buffers. (With DB_CACHE #defined the databases are held
open so the buffers remain valid.) I don't think any of the utilities
that use the dblookup module have had any problems with this yet, but
there's no sense in taking any chances.
1996-07-07 23:02:41 +00:00
..
Makefile Toss old mknetid script into the attic. 1996-06-25 20:28:07 +00:00
Makefile.yp Toss old mknetid script into the attic. 1996-06-25 20:28:07 +00:00
mkaliases
yp_access.c Makefile.yp: 1996-06-05 02:01:31 +00:00
yp_dblookup.c Re-implement the DB handle cache using a circular queue and manage 1996-07-07 23:02:41 +00:00
yp_dnslookup.c Small touch-ups -- no functional changes. 1996-05-31 16:01:51 +00:00
yp_error.c Small touch-ups -- no functional changes. 1996-05-31 16:01:51 +00:00
yp_extern.h
yp_main.c Small touch-ups -- no functional changes. 1996-05-31 16:01:51 +00:00
yp_server.c Small touch-ups -- no functional changes. 1996-05-31 16:01:51 +00:00
ypserv.8