From d26781b754db6580efdc46fc1dff567c5e53d57f Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 24 Apr 1996 12:56:34 +0000 Subject: yp_prot.h lies -> use yp.h (from yp.x) instead, change lots of structure accesses to match. change xdr_domainname() and some other functions to take "char **" instead of "char *", as rpcgen intended -- helps programs linking against rpcgen output of yp.x. yp_all() should not free it's return value. split xdryp.c and yplib.c into ~20 files so binaries like "csh" need not link in functions like yp_maplist(). NIS+'s YP emulation code lacks YPPROC_ORDER... attempt to deal nicely. --- lib/libc/yp/Makefile.inc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'lib/libc/yp/Makefile.inc') diff --git a/lib/libc/yp/Makefile.inc b/lib/libc/yp/Makefile.inc index 8ab81a555ee..bcc568f1f1e 100644 --- a/lib/libc/yp/Makefile.inc +++ b/lib/libc/yp/Makefile.inc @@ -3,7 +3,15 @@ # yp sources .PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/yp ${.CURDIR}/yp -SRCS+= xdryp.c yplib.c +SRCS+= ypmatch_cache.c yp_bind.c yp_get_default_domain.c \ + yp_first.c yp_all.c yp_order.c \ + yp_master.c yp_maplist.c yperr_string.c ypprot_err.c _yp_check.c \ + xdr_domainname.c xdr_keydat.c xdr_mapname.c xdr_peername.c \ + xdr_valdat.c xdr_ypbind_binding.c xdr_ypbind_resp.c \ + xdr_ypbind_resptype.c xdr_ypbind_setdom.c xdr_ypmaplist.c \ + xdr_ypreq_key.c xdr_ypreq_nokey.c xdr_ypresp_all.c \ + xdr_ypresp_key_val.c xdr_ypresp_maplist.c xdr_ypresp_master.c \ + xdr_ypresp_order.c xdr_ypresp_val.c xdr_ypstat.c MAN+= ypclnt.3 MLINKS+=ypclnt.3 yp_all.3 ypclnt.3 yp_bind.3 ypclnt.3 yp_first.3 \ -- cgit v1.2.3