platform_bionic/libc/dns
Elliott Hughes 5033918092 Complete <netdb.h>.
Add all the missing <netdb.h> functions.

Also fix getservbyport to handle a null protocol correctly.

Also fix getservbyname/getservbyport to not interfere with getservent.

Also fix endservent to reset getservent iteration.

Also reduce unnecessary differences from upstream NetBSD sethostent.c.

The servent implementation is still horrific, and we should
probably support protoent too so that debugging tools can use
getprotobyname/getprotobynumber.

Bug: N/A
Test: ran tests
Change-Id: I639108c46df0a768af297cf3bbce857cb1bef9d9
2017-10-15 10:37:51 -07:00
..
include Make use of the DNS query hook in the netcontext 2017-05-22 18:37:25 -04:00
nameser Remove nonexported _ns_flagdata from public header. 2016-04-29 16:39:50 -07:00
net Complete <netdb.h>. 2017-10-15 10:37:51 -07:00
resolv Make use of the DNS query hook in the netcontext 2017-05-22 18:37:25 -04:00