Ulrich Drepper 0420d8885a Update.
2002-10-15  Jakub Jelinek  <jakub@redhat.com>

	* include/resolv.h (__libc_res_nquery, __libc_res_nsearch,
	__libc_res_nsend): New prototypes.
	* resolv/res_query.c (QUERYSIZE): Define.
	(__libc_res_nquery): Renamed from res_nquery.  Added answerp
	argument.  Allocate only QUERYSIZE bytes first, if res_nmkquery
	fails use MAXPACKET buffer.  Call __libc_res_nsend instead of
	res_nsend, pass answerp.
	(res_nquery): Changed into wrapper around __libc_res_nquery.
	(__libc_res_nsearch): Renamed from res_nsearch.  Added answerp
	argument.  Call __libc_res_nquerydomain and __libc_res_nquery
	instead of the non-__libc_ variants, pass them answerp.
	(res_nsearch): Changed into wrapper around __libc_res_nsearch.
	(__libc_res_nquerydomain): Renamed from res_nquerydomain.
	Added answerp argument.  Call __libc_res_nquery instead of
	res_nquery, pass answerp.
	(res_nquerydomain): Changed into wrapper around
	__libc_res_nquerydomain.
	* resolv/res_send.c: Include sys/ioctl.h.
	(MAXPACKET): Define.
	(send_vc): Change arguments.  Reallocate answer buffer if it is
	too small.
	(send_dg): Likewise.
	(__libc_res_nsend): Renamed from res_nsend.  Added ansp argument.
	Reallocate answer buffer if it is too small and hooks are in use.
	Adjust calls to send_vc and send_dg.
	(res_nsend): Changed into wrapper around __libc_res_nsend.
	* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Allocate
	just 1K answer buffer on the stack, use __libc_res_nsearch instead
	of res_nsearch.
	(_nss_dns_gethostbyaddr_r): Similarly with __libc_res_nquery.
	* resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
	(_nss_dns_getnetbyname_r): Similarly with __libc_res_nsearch.
	* resolv/gethnamaddr.c (gethostbyname2): Likewise.
	(gethostbyaddr): Similarly with __libc_res_nquery.
	* resolv/Versions (libresolv): Export __libc_res_nquery and
	__libc_res_nsearch at GLIBC_PRIVATE.
2002-10-17 21:51:21 +00:00
..
2002-08-10 07:54:55 +00:00
2002-08-10 07:54:55 +00:00
1998-11-12 18:03:43 +00:00
2002-10-09 09:42:48 +00:00
1999-11-23 17:22:17 +00:00
2002-03-18 23:38:37 +00:00
2002-10-09 09:42:48 +00:00
2000-12-28 15:08:51 +00:00
1998-04-10 10:52:25 +00:00
1998-08-03 16:47:01 +00:00
1998-03-24 10:39:42 +00:00
2001-08-20 07:17:10 +00:00
2002-08-04 09:27:27 +00:00
2000-06-08 04:48:56 +00:00
2001-03-30 05:34:59 +00:00
1997-06-21 02:59:26 +00:00
1999-11-23 17:22:17 +00:00
2002-08-03 07:02:10 +00:00
2002-09-10 01:40:26 +00:00
1999-11-23 17:22:17 +00:00
1997-06-21 02:59:26 +00:00
1997-11-18 02:50:07 +00:00
2000-12-05 17:34:28 +00:00
2001-07-06 04:58:11 +00:00
1999-08-21 00:38:15 +00:00
2002-08-03 07:02:10 +00:00
1997-06-21 02:59:26 +00:00
2002-08-04 20:54:20 +00:00
2001-07-06 04:58:11 +00:00
2002-03-13 02:17:12 +00:00
2002-09-10 01:40:26 +00:00
1997-06-21 02:59:26 +00:00
2002-04-09 20:36:24 +00:00
1997-06-21 02:59:26 +00:00
1997-06-21 02:59:26 +00:00
1997-12-22 20:53:38 +00:00
1997-06-21 02:59:26 +00:00
1997-06-21 02:59:26 +00:00
2002-08-04 09:27:27 +00:00
2000-08-21 16:02:48 +00:00
2002-08-03 07:02:10 +00:00
2002-08-10 07:54:55 +00:00
1998-12-08 13:12:47 +00:00
2002-10-17 21:51:21 +00:00
2002-08-15 13:04:07 +00:00
2001-07-06 04:58:11 +00:00
2002-08-21 08:08:03 +00:00
1997-06-21 02:59:26 +00:00
2002-08-10 07:54:55 +00:00
2002-10-09 09:42:48 +00:00
2000-10-01 19:15:29 +00:00
1997-06-21 02:59:26 +00:00
2002-04-09 20:36:24 +00:00
1997-06-21 02:59:26 +00:00
1997-10-15 05:34:02 +00:00
1997-06-21 02:59:26 +00:00
1997-06-21 02:59:26 +00:00
1997-06-21 02:59:26 +00:00
1997-06-21 02:59:26 +00:00
1998-09-06 23:45:24 +00:00
1999-10-12 18:17:41 +00:00
1999-11-23 17:22:17 +00:00
1999-11-23 17:22:17 +00:00
2001-07-06 04:58:11 +00:00
2002-08-29 06:50:10 +00:00
1997-06-21 02:59:26 +00:00