Catch up with nsdispatch.c: nsdispatch(3) is now `hidden' by
namespace.h. Sponsored by: DARPA, Network Associates Laboratories
This commit is contained in:
parent
2e72e0ae30
commit
8b5edf7f5b
@ -607,7 +607,7 @@ explore_fqdn(pai, hostname, servname, res)
|
||||
return 0;
|
||||
}
|
||||
|
||||
switch (nsdispatch(&result, dtab, NSDB_HOSTS, "getaddrinfo",
|
||||
switch (_nsdispatch(&result, dtab, NSDB_HOSTS, "getaddrinfo",
|
||||
default_dns_files, hostname, pai)) {
|
||||
case NS_TRYAGAIN:
|
||||
error = EAI_AGAIN;
|
||||
|
@ -291,7 +291,7 @@ _ghbyname(const char *name, int af, int flags, int *errp)
|
||||
}
|
||||
|
||||
THREAD_LOCK();
|
||||
rval = nsdispatch(&hp, dtab, NSDB_HOSTS, "ghbyname", default_src,
|
||||
rval = _nsdispatch(&hp, dtab, NSDB_HOSTS, "ghbyname", default_src,
|
||||
name, af, errp);
|
||||
THREAD_UNLOCK();
|
||||
return (rval == NS_SUCCESS) ? hp : NULL;
|
||||
@ -438,7 +438,7 @@ getipnodebyaddr(const void *src, size_t len, int af, int *errp)
|
||||
}
|
||||
|
||||
THREAD_LOCK();
|
||||
rval = nsdispatch(&hp, dtab, NSDB_HOSTS, "ghbyaddr", default_src,
|
||||
rval = _nsdispatch(&hp, dtab, NSDB_HOSTS, "ghbyaddr", default_src,
|
||||
src, len, af, errp);
|
||||
THREAD_UNLOCK();
|
||||
return (rval == NS_SUCCESS) ? hp : NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user