cvs commit: src/include netdb.h resolv.h src/include/arpa inet.h
nameser.h nameser_compat.h src/lib/libc Makefile src/lib/libc/net
Makefile.inc Symbol.map getaddrinfo.c gethostbydns.c gethostbyht.c
gethostbynis.c gethostnamadr.c getnetbydns.c getnetbyht.c ...
Hajimu UMEMOTO
ume at FreeBSD.org
Tue Mar 21 16:11:15 UTC 2006
ume 2006-03-21 16:11:12 UTC
FreeBSD src repository
Modified files:
include netdb.h resolv.h
include/arpa inet.h nameser.h nameser_compat.h
lib/libc Makefile
lib/libc/net Makefile.inc Symbol.map getaddrinfo.c
gethostbydns.c gethostbyht.c
gethostbynis.c gethostnamadr.c
getnetbydns.c getnetbyht.c getnetbynis.c
name6.c netdb_private.h res_config.h
res_mkupdate.c res_update.c
Added files:
lib/libc/net res_update.h
Removed files:
lib/libc/net herror.c inet_addr.c inet_lnaof.c
inet_makeaddr.c inet_net_ntop.c
inet_net_pton.c inet_neta.c inet_netof.c
inet_network.c inet_ntoa.c inet_ntop.c
inet_pton.c ns_name.c ns_netint.c
ns_parse.c ns_print.c ns_ttl.c
nsap_addr.c res_comp.c res_data.c
res_debug.c res_init.c res_mkquery.c
res_query.c res_send.c res_send_private.h
Log:
Update the resolver in libc to BIND9's one.
Since, res_sendsigned(3) and the friends use MD5 functions, it is
hard to include them without having MD5 functions in libc. So,
res_sendsigned(3) is not merged into libc.
Since, res_update(3) in BIND9 is not binary compatible with our
res_update(3), res_update(3) is leaved as is, except some
necessary modifications.
The res_update(3) and the friends are not essential part of the
resolver. They are not defined in resolv.h but defined in
res_update.h separately in BIND9. Further, they are not called from
our tree. So, I hide them from our resolv.h, but leave them only
for binary backward compatibility (perhaps, no one calls them).
Since, struct __res_state_ext is not exposed in BIND9, I hide it
from our resolv.h. And, global variable _res_ext is removed. It
breaks binary backward compatibility. But, since it is not used from
outside of our libc, I think it is safe.
Reviewed by: arch@ (no objection)
Revision Changes Path
1.26 +33 -23 src/include/arpa/inet.h
1.18 +204 -73 src/include/arpa/nameser.h
1.5 +8 -1 src/include/arpa/nameser_compat.h
1.40 +2 -2 src/include/netdb.h
1.29 +311 -147 src/include/resolv.h
1.64 +4 -0 src/lib/libc/Makefile
1.58 +10 -9 src/lib/libc/net/Makefile.inc
1.3 +4 -121 src/lib/libc/net/Symbol.map
1.74 +83 -75 src/lib/libc/net/getaddrinfo.c
1.55 +67 -57 src/lib/libc/net/gethostbydns.c
1.24 +12 -7 src/lib/libc/net/gethostbyht.c
1.26 +20 -14 src/lib/libc/net/gethostbynis.c
1.29 +22 -18 src/lib/libc/net/gethostnamadr.c
1.32 +43 -26 src/lib/libc/net/getnetbydns.c
1.17 +2 -1 src/lib/libc/net/getnetbyht.c
1.20 +2 -1 src/lib/libc/net/getnetbynis.c
1.13 +0 -113 src/lib/libc/net/herror.c (dead)
1.17 +0 -200 src/lib/libc/net/inet_addr.c (dead)
1.6 +0 -68 src/lib/libc/net/inet_lnaof.c (dead)
1.5 +0 -71 src/lib/libc/net/inet_makeaddr.c (dead)
1.9 +0 -281 src/lib/libc/net/inet_net_ntop.c (dead)
1.11 +0 -410 src/lib/libc/net/inet_net_pton.c (dead)
1.10 +0 -92 src/lib/libc/net/inet_neta.c (dead)
1.6 +0 -67 src/lib/libc/net/inet_netof.c (dead)
1.10 +0 -100 src/lib/libc/net/inet_network.c (dead)
1.7 +0 -67 src/lib/libc/net/inet_ntoa.c (dead)
1.13 +0 -188 src/lib/libc/net/inet_ntop.c (dead)
1.13 +0 -219 src/lib/libc/net/inet_pton.c (dead)
1.56 +56 -39 src/lib/libc/net/name6.c
1.10 +3 -0 src/lib/libc/net/netdb_private.h
1.6 +0 -592 src/lib/libc/net/ns_name.c (dead)
1.4 +0 -53 src/lib/libc/net/ns_netint.c (dead)
1.5 +0 -189 src/lib/libc/net/ns_parse.c (dead)
1.4 +0 -742 src/lib/libc/net/ns_print.c (dead)
1.5 +0 -150 src/lib/libc/net/ns_ttl.c (dead)
1.10 +0 -113 src/lib/libc/net/nsap_addr.c (dead)
1.20 +0 -268 src/lib/libc/net/res_comp.c (dead)
1.9 +0 -4 src/lib/libc/net/res_config.h
1.9 +0 -82 src/lib/libc/net/res_data.c (dead)
1.23 +0 -992 src/lib/libc/net/res_debug.c (dead)
1.34 +0 -715 src/lib/libc/net/res_init.c (dead)
1.20 +0 -246 src/lib/libc/net/res_mkquery.c (dead)
1.7 +2 -1 src/lib/libc/net/res_mkupdate.c
1.33 +0 -478 src/lib/libc/net/res_query.c (dead)
1.52 +0 -925 src/lib/libc/net/res_send.c (dead)
1.2 +0 -82 src/lib/libc/net/res_send_private.h (dead)
1.8 +3 -1 src/lib/libc/net/res_update.c
1.1 +75 -0 src/lib/libc/net/res_update.h (new)
More information about the cvs-src
mailing list