]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
A few small tweaks related to ypxfr:
authorwpaul <wpaul@FreeBSD.org>
Sat, 23 Dec 1995 21:35:35 +0000 (21:35 +0000)
committerwpaul <wpaul@FreeBSD.org>
Sat, 23 Dec 1995 21:35:35 +0000 (21:35 +0000)
commit3be99a55ffecd32ecfa45a807b33d45bf2a13178
treece4c9de08d67a611ebd2b072d1809f830327a6b7
parent6ef4e82f0f2c507c27c3787fb8e0d899e2dbadca
A few small tweaks related to ypxfr:

- Add a ypxfr_callback() function that we can use to signal failure to
  yppush(8) in the event that we can't fork()/exec() ypxfr(8). yppush
  only checks the return status from YPPROC_XFR enough to determine
  that the RPC succeded: it relies on its callback service to figure
  out whether or not the transfer actually worked.

- Give yp_dblookup.c its own debug variable (ypdb_debug) so that DB
  access debugging messages can be turned on or off independent of the
  program's global debug messages.

- Have the Makefile rpcgen the ypushresp_xfr_1() client stub for us and
  nuke the unneeded rule for yp_xdr.c that I left in by mistake (the XDR
  filters live in libc now).
usr.sbin/ypserv/Makefile
usr.sbin/ypserv/yp_dblookup.c
usr.sbin/ypserv/yp_extern.h
usr.sbin/ypserv/yp_main.c
usr.sbin/ypserv/yp_server.c