diff options
author | nectar <nectar@FreeBSD.org> | 2003-04-24 17:41:20 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2003-04-24 17:41:20 +0000 |
commit | 8b5edf7f5b6beed6c920f17eed905067eb649549 (patch) | |
tree | fe6e5478fa06120d6e4cd9d90d0f7a5ab152c29c /lib/libc | |
parent | 2e72e0ae307e85a01add74dfd6faef1264c8f016 (diff) | |
download | FreeBSD-src-8b5edf7f5b6beed6c920f17eed905067eb649549.zip FreeBSD-src-8b5edf7f5b6beed6c920f17eed905067eb649549.tar.gz |
Catch up with nsdispatch.c: nsdispatch(3) is now `hidden' by
namespace.h.
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/net/getaddrinfo.c | 2 | ||||
-rw-r--r-- | lib/libc/net/name6.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/getaddrinfo.c b/lib/libc/net/getaddrinfo.c index 37e680c..e2cb71a 100644 --- a/lib/libc/net/getaddrinfo.c +++ b/lib/libc/net/getaddrinfo.c @@ -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; diff --git a/lib/libc/net/name6.c b/lib/libc/net/name6.c index ae9eb31..3326cdf 100644 --- a/lib/libc/net/name6.c +++ b/lib/libc/net/name6.c @@ -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; |