summaryrefslogtreecommitdiffstats
path: root/include/netdb.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-06-11 08:55:17 +0000
committerpeter <peter@FreeBSD.org>1998-06-11 08:55:17 +0000
commitf8f1d6e80f37646e814e2fad78e9a39580b7fbf9 (patch)
treee0806d52d1186459ab5f8c2e7e277908e847c298 /include/netdb.h
parent2612cb112fc3f28f09e072d426b02a2527b1a89e (diff)
downloadFreeBSD-src-f8f1d6e80f37646e814e2fad78e9a39580b7fbf9.zip
FreeBSD-src-f8f1d6e80f37646e814e2fad78e9a39580b7fbf9.tar.gz
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
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 40912b2..91048ab 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"
OpenPOWER on IntegriCloud