diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 1996-12-22 22:05:43 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 1996-12-22 22:05:43 +0000 |
| commit | ce8bac1e6d3d365924cc7e0bef4972a5f1c73510 (patch) | |
| tree | f5ee6fbcb391a3c071e7db5c510a6590e85c6fff /lib/libc/net | |
| parent | d43f0f0a786ea75c7d81fb9772913910d1984c9d (diff) | |
Notes
Diffstat (limited to 'lib/libc/net')
| -rw-r--r-- | lib/libc/net/gethostbydns.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/libc/net/gethostbydns.c b/lib/libc/net/gethostbydns.c index fb92b3f5b321..573ba3432095 100644 --- a/lib/libc/net/gethostbydns.c +++ b/lib/libc/net/gethostbydns.c @@ -53,7 +53,7 @@ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)gethostnamadr.c 8.1 (Berkeley) 6/4/93"; -static char rcsid[] = "$Id: gethostbydns.c,v 1.11 1996/10/01 03:45:06 pst Exp $"; +static char rcsid[] = "$Id: gethostbydns.c,v 1.12 1996/11/01 06:25:43 peter Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -398,6 +398,16 @@ gethostanswer(answer, anslen, qname, qtype) } struct hostent * +__dns_getanswer(answer, anslen, qname, qtype) + const char *answer; + int anslen; + const char *qname; + int qtype; +{ + return(gethostanswer((const querybuf *)answer, anslen, qname, qtype)); +} + +struct hostent * _gethostbydnsname(name, af) const char *name; int af; |
