gresolv: Don't convert results to strings so early
authorDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 2 Dec 2010 00:25:30 +0000 (00:25 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 2 Dec 2010 00:28:34 +0000 (00:28 +0000)
commit96ab387102b4a9db92772f02aadeca9a93514af9
tree94df5225eb6154423a4e23ebab8c9bbf7e721fe5
parent658282bdf62e165c44a5e97e22ba5cce13839044
gresolv: Don't convert results to strings so early

We're going to want results in sockaddr form for sorting, so let's put
them directly into the array we'll want for the sort process, even though
we haven't actually implemented sorting yet.

We can ditch the support for arbitrary callbacks from the individual
queries, too; there's no need for that. The callback to user code comes
from the *lookup*, having combined the A and AAAA query results.
gweb/gresolv.c