aboutsummaryrefslogtreecommitdiff
path: root/include/netdb.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-06-11 08:55:17 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-06-11 08:55:17 +0000
commit0160f9c06507054e4c88985352b44693dbff4c71 (patch)
treec8adbeffedb6af0853bc903ba2559b9207c7b457 /include/netdb.h
parent3900ddb2dc73e58d4b06effd232b875ce181b12c (diff)
downloadsrc-0160f9c06507054e4c88985352b44693dbff4c71.tar.gz
src-0160f9c06507054e4c88985352b44693dbff4c71.zip
Update nameserver interface to bind-8.1.2 levels. We do not use IRS (yet?)
since it has far wider impact than hostname lookups (including passwords). Note that this has more ugly symbol hiding and binary compatability hacks that can go away the second we bump majors. Obtained from: Mostly from diff against ISC bind-8.1.2 sources
Notes
Notes: svn path=/head/; revision=36888
Diffstat (limited to 'include/netdb.h')
-rw-r--r--include/netdb.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 40912b26e065..91048abb0ecd 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -30,9 +30,6 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)netdb.h 8.1 (Berkeley) 6/2/93
- * From: Id: netdb.h,v 8.8 1997/06/01 20:34:32 vixie Exp
- * $Id: netdb.h,v 1.9 1997/06/27 08:32:37 peter Exp $
* -
* Portions Copyright (c) 1993 by Digital Equipment Corporation.
*
@@ -55,12 +52,20 @@
* --Copyright--
*/
+/*
+ * @(#)netdb.h 8.1 (Berkeley) 6/2/93
+ * From: Id: netdb.h,v 8.9 1996/11/19 08:39:29 vixie Exp $
+ * $Id: netdb.h,v 1.10 1997/08/16 23:32:42 steve Exp $
+ */
+
#ifndef _NETDB_H_
#define _NETDB_H_
#include <sys/cdefs.h>
-#define _PATH_HEQUIV "/etc/hosts.equiv"
+#ifndef _PATH_HEQUIV
+# define _PATH_HEQUIV "/etc/hosts.equiv"
+#endif
#define _PATH_HOSTS "/etc/hosts"
#define _PATH_NETWORKS "/etc/networks"
#define _PATH_PROTOCOLS "/etc/protocols"