* nis/ypclnt.c (__yp_bind_client_create): New, small chunk
authorRoland McGrath <roland@gnu.org>
Mon, 9 Feb 2004 20:33:35 +0000 (20:33 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 9 Feb 2004 20:33:35 +0000 (20:33 +0000)
commit57be8a82ed19377cf12faea8e0f4a39f8ee56979
tree2cb49f1a1455f5de51b613f5b5b02ce40f8c9475
parentfe54a69c1c7d5c32eccac960de0ca895017b23a9
* nis/ypclnt.c (__yp_bind_client_create): New, small chunk

of duplicated code from __yp_bind.
(__yp_bind_file): New, binding dir code from __yp_bind.
(__yp_bind_client_create): New, ypbind code from __yp_bind.
(__ypclnt_call): New, make NIS query.
(do_ypcall): At first use cached data, then try data from
binding directory, after this ask ypbind for a working ypserv.
Based on a patch from Jeff Bastian <jmbastia@ti.com> and
Chris Barrera <cbarrera@ti.com>
ChangeLog
nis/ypclnt.c