summaryrefslogtreecommitdiffstats
path: root/include/arpa/inet.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/arpa/inet.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/arpa/inet.h')
-rw-r--r--include/arpa/inet.h24
1 files changed, 21 insertions, 3 deletions
diff --git a/include/arpa/inet.h b/include/arpa/inet.h
index dad3916..0972285 100644
--- a/include/arpa/inet.h
+++ b/include/arpa/inet.h
@@ -47,10 +47,12 @@
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
* ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
* SOFTWARE.
- *
+ */
+
+/*
* @(#)inet.h 8.1 (Berkeley) 6/2/93
- * From: inet.h,v 8.6 1996/08/08 06:54:29 vixie Exp
- * $Id: inet.h,v 1.8 1997/05/07 02:26:47 eivind Exp $
+ * From: Id: inet.h,v 8.5 1997/01/29 08:48:09 vixie Exp $
+ * $Id: inet.h,v 1.9 1997/05/07 20:00:19 eivind Exp $
*/
#ifndef _ARPA_INET_H_
@@ -63,6 +65,22 @@
struct in_addr;
+/* XXX all new diversions!! argh!! */
+#define inet_addr __inet_addr
+#define inet_aton __inet_aton
+#define inet_lnaof __inet_lnaof
+#define inet_makeaddr __inet_makeaddr
+#define inet_neta __inet_neta
+#define inet_netof __inet_netof
+#define inet_network __inet_network
+#define inet_net_ntop __inet_net_ntop
+#define inet_net_pton __inet_net_pton
+#define inet_ntoa __inet_ntoa
+#define inet_pton __inet_pton
+#define inet_ntop __inet_ntop
+#define inet_nsap_addr __inet_nsap_addr
+#define inet_nsap_ntoa __inet_nsap_ntoa
+
__BEGIN_DECLS
int ascii2addr __P((int, const char *, void *));
char *addr2ascii __P((int, const void *, int, char *));
OpenPOWER on IntegriCloud