wpaul 9595ea6d1e More async resolver refinements:
- yp_main.c: Always add the resolver socket to the set of fds
  monitored by select(). It can happen that pending == 0 but we
  still have some data in the socket buffer from an old query.
  This way, the data will be flushed in a timely manner.

- yp_extern.h: remove proto for yp_dns_pending() since we don't need
  it anynmore.

- yp_server.c: call yp_async_lookup_name()/yp_async_lookup_addr()
  functions with the svc_req pointer as an arg instead of the xprt.
  (The svc_req struct includes a pointer to the transport handle,
  and it also has the service version number which the async DNS
  code will need. (see below))

- yp_dnslookup.c:

   o Nuke yp_dns_pending() since we don't need it anymore.
   o In yp_run_dnsq(), swallow up and ignore replies if no requests
     are pending or the ID doesn't match any of the IDs in the queue.
   o In yp_send_dns_reply(), we assume that we will always be
     replying to an NIS v2 client. While this will probably always
     be the case, we do support the v1 'match' procedure, and it
     has a different result struct than v2. For completeness,
     support replying to both NIS v1 and v2 clients.
   o Update the queue entry structure to include a member to
     keep track of the NIS version number.
   o Have yp_async_lookup_name/addr() extract the version number
     from the svc_req structure and save it with the queue entry
     for yp_send_dns_reply() to inspect later.
   o Add some comments.
1996-12-25 18:10:35 +00:00
..
1996-12-21 22:22:55 +00:00
1996-05-21 18:09:11 +00:00
1996-12-23 00:22:00 +00:00
1996-12-21 21:15:09 +00:00
1996-12-09 08:04:55 +00:00
1996-11-10 21:12:44 +00:00
1996-12-21 23:23:11 +00:00
1996-12-23 02:19:12 +00:00
1996-12-23 23:09:55 +00:00
1996-11-12 13:37:51 +00:00
1996-11-04 23:50:58 +00:00
1996-12-20 01:32:12 +00:00
1996-09-20 04:13:44 +00:00
1996-11-26 03:31:26 +00:00
1996-11-04 23:57:40 +00:00
1996-12-21 21:57:21 +00:00
1996-08-23 20:36:11 +00:00
1996-08-29 21:40:09 +00:00
1996-09-23 22:24:39 +00:00
1996-12-23 23:09:55 +00:00
1996-10-27 23:12:48 +00:00
1996-12-23 23:09:55 +00:00
1995-05-30 03:57:47 +00:00
1996-08-16 09:44:40 +00:00
1996-09-05 17:16:10 +00:00
1996-11-01 06:29:34 +00:00
1995-05-30 03:57:47 +00:00
1996-09-05 17:16:10 +00:00
1996-08-21 21:39:44 +00:00
1996-10-22 05:13:42 +00:00
1996-12-09 07:20:41 +00:00
1996-12-17 15:26:40 +00:00
1996-09-23 22:24:39 +00:00
1995-05-30 03:57:47 +00:00
1996-12-25 18:10:35 +00:00
1996-02-12 05:28:30 +00:00
1996-12-16 01:01:46 +00:00