summaryrefslogtreecommitdiff
path: root/usr.sbin/named/nslookup/res.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/named/nslookup/res.h')
-rw-r--r--usr.sbin/named/nslookup/res.h13
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();