diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-03-12 10:42:55 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-03-12 10:42:55 +0000 |
commit | 6072bd74192e6df1e3ed3f3afe32edfe7d99d2cb (patch) | |
tree | 21877bf94332fd37f010aeb1c31f888b63bcd85a /usr.sbin/named/nslookup/res.h | |
parent | f1d001e6fcd8bdb74d98ca1547b99958b9d90102 (diff) |
BIND 4.9.5-P1.
libresolv and include are required until the new resolver gets integrated
into libc.
Diffstat (limited to 'usr.sbin/named/nslookup/res.h')
-rw-r--r-- | usr.sbin/named/nslookup/res.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/usr.sbin/named/nslookup/res.h b/usr.sbin/named/nslookup/res.h index d2e42a5c105..301dc954769 100644 --- a/usr.sbin/named/nslookup/res.h +++ b/usr.sbin/named/nslookup/res.h @@ -1,4 +1,4 @@ -/* $NetBSD: res.h,v 1.1 1996/02/02 15:30:25 mrg Exp $ */ +/* $OpenBSD: res.h,v 1.2 1997/03/12 10:42:49 downsj Exp $ */ /* * ++Copyright++ 1985, 1989 @@ -57,7 +57,7 @@ /* * @(#)res.h 5.10 (Berkeley) 6/1/90 - * $Id: res.h,v 8.1 1994/12/15 06:24:31 vixie Exp + * $From: res.h,v 8.3 1996/12/02 09:17:24 vixie Exp $ */ /* @@ -79,6 +79,11 @@ #define FALSE 0 typedef int Boolean; +#define MAXALIASES 35 +#define MAXADDRS 35 +#define MAXDOMAINS 35 +#define MAXSERVERS 10 + /* * Define return statuses in addtion to the ones defined in namserv.h * let SUCCESS be a synonym for NOERROR @@ -161,8 +166,8 @@ extern int Print_query(); extern unsigned char *Print_cdname(); extern unsigned char *Print_cdname2(); /* fixed width */ extern unsigned char *Print_rr(); -extern char *DecodeType(); /* descriptive version of p_type */ -extern char *DecodeError(); +extern const char *DecodeType(); /* descriptive version of p_type */ +extern const char *DecodeError(); extern char *Calloc(); extern char *Malloc(); extern void NsError(); |