glibc/inet
Ulrich Drepper 384ca55174 * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with
gethstbynm3_r.
	* nscd/gethstbynm2_r.c: Remove.
	* nscd/gethstbynm3_r.c: New file.
	* nscd/aicache.c (addhstaiX): Use __gethostbyaddr2_r instead of
	__gethostbyaddr_r.
	* nscd/gethstbyad_r.c: Generate __gethostbyaddr2_r function.  Define
	__gethostbyaddr_r compatibility wrapper.
	* nscd/hstcache.c (cache_addhst): Add ttl parameter.  Use it when
	determining timeout of entry.
	(lookup): Take new parameter and pass it to __gethostbyname3_r and
	__gethostbyaddr2_r.
	(addhstbyX): Pass reference to variable for TTL to lookup and
	cache_addhst.
	* nss/Versions [glibc] (GLIBC_PRIVATE): Export __nss_passwd_lookup2,
	__nss_group_lookup2, __nss_hosts_lookup2, __nss_services_lookup2,
	and __nss_next2.  Remove __nss_services_lookup.
	* nss/XXX-lookup.c: Name function now *_lookup2.  Add new parameter.
	Add compat wrapper.
	* nss/getXXbyYY_r.c: Changes to call new *_lookup2 functions and
	__nss_next2.
	* nss/getXXent_r.c: Likewise.
	* nss/getnssent_r.c: Likewise.
	* nss/nsswitch.c (__nss_lookup): Add new parameter.  If first function
	does not exist in module, try the optional second name.
	(__nss_next2): New function.
	(__nss_next): Now wrapper around __nss_next2.
	* nss/nsswitch.h: Adjust __nss_lookup prototype.
	Declare __nss_next2.
	Adjust definition of db_lookup_function type.
	* nss/service-lookup.c: Define NO_COMPAT.
	* include/netdb.h: Declare __gethostbyaddr2_r and __gethostbyname3_r.
	* inet/ether_hton.c: Use __nss_next2 instead of __nss_next.
	* inet/ether_ntoh.c: Likewise.
	* sunrpc/netname.c: Likewise.
	* sunrpc/publickey.c: Likewise.
	* inet/getnetgrent.c: Likewise.  Adjust calls to __nss_lookup.
	* inet/gethstbyad_r.c (DB_LOOKUP_FCT): Change to __nss_hosts_lookup2.
	* inet/gethstbynm2_r.c (DB_LOOKUP_FCT): Likewise.
	* inet/gethstbynm_r.c (DB_LOOKUP_FCT): Likewise.
	* inet/gethstent_r.c (DB_LOOKUP_FCT): Likewise.

	* nscd/aicache.c (addhstaiX): Fix default TTL handling.

	* inet/getnetgrent.c (setup): Encrypt static pointer.
2007-10-30 00:48:09 +00:00
..
arpa Change inet_aton type from in_addr_t to int. 2004-07-21 16:28:40 +00:00
netinet * sysdeps/gnu/netinet/tcp.h: Include sys/socket.h if __USE_MISC. 2007-10-11 16:32:14 +00:00
protocols Update. 1999-06-08 21:20:07 +00:00
.cvsignore Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-14 20:30:25 +00:00
Makefile [BZ #4181] 2007-03-15 20:05:19 +00:00
Versions [BZ #2693] 2006-05-25 04:50:06 +00:00
aliases.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bug-if1.c Update. 2004-06-29 04:43:45 +00:00
check_pf.c * include/ifaddrs.h: Define struct in6addrinfo. 2006-04-16 21:34:32 +00:00
ether_aton.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ether_aton_r.c * sysdeps/posix/system.c (do_system): New function, guts broken out of 2002-08-06 04:30:03 +00:00
ether_hton.c * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with 2007-10-30 00:48:09 +00:00
ether_line.c Update. 2002-05-24 08:49:00 +00:00
ether_ntoa.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ether_ntoa_r.c * sysdeps/posix/system.c (do_system): New function, guts broken out of 2002-08-06 04:30:03 +00:00
ether_ntoh.c * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with 2007-10-30 00:48:09 +00:00
getaliasent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getaliasent_r.c Update. 2002-08-03 07:02:10 +00:00
getaliasname.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getaliasname_r.c Update. 2002-08-03 07:02:10 +00:00
gethstbyad.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gethstbyad_r.c * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with 2007-10-30 00:48:09 +00:00
gethstbynm.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gethstbynm2.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gethstbynm2_r.c * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with 2007-10-30 00:48:09 +00:00
gethstbynm_r.c * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with 2007-10-30 00:48:09 +00:00
gethstent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gethstent_r.c * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with 2007-10-30 00:48:09 +00:00
getipv4sourcefilter.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getnameinfo.c * elf/dl-open.c (dl_open_worker): Declare l in 2 different 2007-03-17 17:09:13 +00:00
getnetbyad.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getnetbyad_r.c Update. 2002-08-03 07:02:10 +00:00
getnetbynm.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getnetbynm_r.c Update. 2002-08-03 07:02:10 +00:00
getnetent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getnetent_r.c Update. 2002-08-03 07:02:10 +00:00
getnetgrent.c * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn): 2002-11-01 20:44:15 +00:00
getnetgrent_r.c * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with 2007-10-30 00:48:09 +00:00
getproto.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getproto_r.c Update. 2002-08-03 07:02:10 +00:00
getprtent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getprtent_r.c Update. 2002-08-03 07:02:10 +00:00
getprtname.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getprtname_r.c Update. 2002-08-03 07:02:10 +00:00
getrpcbyname.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getrpcbyname_r.c Update. 2002-08-03 07:02:10 +00:00
getrpcbynumber.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getrpcbynumber_r.c Update. 2002-08-03 07:02:10 +00:00
getrpcent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getrpcent_r.c Update. 2002-08-03 07:02:10 +00:00
getservent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getservent_r.c Update. 2002-08-03 07:02:10 +00:00
getsourcefilter.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getsrvbynm.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getsrvbynm_r.c Update. 2002-08-03 07:02:10 +00:00
getsrvbypt.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getsrvbypt_r.c Update. 2002-08-03 07:02:10 +00:00
herrno-loc.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
herrno.c Update. 2003-02-07 20:46:55 +00:00
htonl.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
htons.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
htontest.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
if_index.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
ifaddrs.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
ifaddrs.h Added <ifaddrs.h> interface with functions `getifaddrs', `freeifaddrs'. 2002-07-24 22:56:44 +00:00
ifreq.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
in6_addr.c * malloc/Makefile ($(objpfx)memusagestat.o: sysincludes): Define 2002-09-18 00:15:25 +00:00
inet6_opt.c [BZ #4181] 2007-03-15 20:05:19 +00:00
inet6_option.c Also emit linker warnings for the RFC 2292 interfaces. 2006-09-20 20:14:47 +00:00
inet6_rth.c [BZ #2693] 2006-05-25 04:50:06 +00:00
inet_lnaof.c * sysdeps/posix/readv.c: Include <errno.h>, use __set_errno macro. 2002-11-24 23:56:47 +00:00
inet_mkadr.c Update. 2003-08-27 20:57:30 +00:00
inet_net.c Reset digit to 0 for inputs starting with "0x". 2007-09-15 22:21:19 +00:00
inet_netof.c * sysdeps/posix/readv.c: Include <errno.h>, use __set_errno macro. 2002-11-24 23:56:47 +00:00
inet_ntoa.c * inet/inet_ntoa.c: Rewrite to use TLS instead of TSD. 2006-04-09 05:51:26 +00:00
netgroup.h Update. 2004-08-14 04:21:09 +00:00
rcmd.c * inet/rcmd.c (iruserfopen): Remove redundant initialization. 2006-01-31 19:18:14 +00:00
rexec.c * inet/rexec.c (rexec_af): If we have no canonical name don't 2006-04-07 08:17:33 +00:00
ruserpass.c Update. 2003-09-04 08:27:37 +00:00
setipv4sourcefilter.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
setsourcefilter.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
test-ifaddrs.c * inet/test-ifaddrs.c: Use test-skeleton. 2005-03-19 17:45:59 +00:00
test-inet6_opt.c [BZ #4181] 2007-03-15 20:05:19 +00:00
test_ifindex.c * inet/test-ifaddrs.c: Use test-skeleton. 2005-03-19 17:45:59 +00:00
tst-ether_aton.c Update. 2002-05-24 08:49:00 +00:00
tst-gethnm.c Include string.h to provide prototype for strcmp. 2000-08-19 18:04:56 +00:00
tst-network.c * include/stdio.h (__isoc99_fscanf, __isoc99_scanf, 2007-09-18 19:04:01 +00:00
tst-ntoa.c Update. 1997-08-10 18:37:15 +00:00