diff options
author | wpaul <wpaul@FreeBSD.org> | 1995-12-23 21:35:35 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1995-12-23 21:35:35 +0000 |
commit | 3be99a55ffecd32ecfa45a807b33d45bf2a13178 (patch) | |
tree | ce4c9de08d67a611ebd2b072d1809f830327a6b7 /usr.sbin/ypserv/yp_extern.h | |
parent | 6ef4e82f0f2c507c27c3787fb8e0d899e2dbadca (diff) | |
download | FreeBSD-src-3be99a55ffecd32ecfa45a807b33d45bf2a13178.zip FreeBSD-src-3be99a55ffecd32ecfa45a807b33d45bf2a13178.tar.gz |
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).
Diffstat (limited to 'usr.sbin/ypserv/yp_extern.h')
-rw-r--r-- | usr.sbin/ypserv/yp_extern.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ypserv/yp_extern.h b/usr.sbin/ypserv/yp_extern.h index f16ba20..e94d253 100644 --- a/usr.sbin/ypserv/yp_extern.h +++ b/usr.sbin/ypserv/yp_extern.h @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: yp_extern.h,v 1.9 1995/12/16 04:01:55 wpaul Exp $ + * $Id: yp_extern.h,v 1.1.1.1 1995/12/16 20:54:17 wpaul Exp $ */ #include <stdio.h> #include <string.h> @@ -57,6 +57,7 @@ */ extern int debug; +extern int ypdb_debug; extern int do_dns; extern int children; extern char *progname; |