b09a8950a1
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)
7 lines
298 B
C
7 lines
298 B
C
/* $FreeBSD$ */
|
|
|
|
#define DEBUG 1 /* enable debugging code (needed for dig) */
|
|
#define RESOLVSORT /* allow sorting of addresses in gethostbyname */
|
|
#undef SUNSECURITY /* verify gethostbyaddr() calls - WE DONT NEED IT */
|
|
#define MULTI_PTRS_ARE_ALIASES 1 /* fold multiple PTR records into aliases */
|