switch standard resolver functions to use the new dns backend
authorRich Felker <dalias@aerifal.cx>
Mon, 2 Jun 2014 08:47:45 +0000 (04:47 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 2 Jun 2014 08:47:45 +0000 (04:47 -0400)
commit3330198060c7b3165a2fba530ffde5fc6706ecf2
treebc87811d35022e240dfe8d24f96402ac2feaa65a
parenta2a328bd896fa909542b492601e3689119b95de0
switch standard resolver functions to use the new dns backend

this is the third phase of the "resolver overhaul" project.

this commit removes all of the old dns code, and switches the
__lookup_name backend (used by getaddrinfo, etc.) and the getnameinfo
function to use the newly implemented __res_mkquery and __res_msend
interfaces. for parsing the results, a new callback-based __dns_parse
function, based on __dns_get_rr from the old dns code, is used.
src/network/__dns.c [deleted file]
src/network/dns_parse.c [new file with mode: 0644]
src/network/getnameinfo.c
src/network/lookup_name.c