From ab56e8b192f1b86fc9601d31ae4f9a1f0ab4a9d8 Mon Sep 17 00:00:00 2001 From: wollman Date: Thu, 13 Jun 1996 20:45:05 +0000 Subject: Add an independent implementation of addr2ascii(3) and ascii2addr(3) following the API of the INRIA IPv6 implementation. --- include/arpa/inet.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/arpa') diff --git a/include/arpa/inet.h b/include/arpa/inet.h index 014277c..027f443 100644 --- a/include/arpa/inet.h +++ b/include/arpa/inet.h @@ -31,16 +31,21 @@ * SUCH DAMAGE. * * @(#)inet.h 8.1 (Berkeley) 6/2/93 + * $Id$ */ #ifndef _ARPA_INET_H_ #define _ARPA_INET_H_ -/* External definitions for functions in inet(3) */ +/* External definitions for functions in inet(3), addr2ascii(3) */ #include +struct in_addr; + __BEGIN_DECLS +int ascii2addr __P((int, const char *, void *)); +char *addr2ascii __P((int, const void *, int, char *)); unsigned long inet_addr __P((const char *)); int inet_aton __P((const char *, struct in_addr *)); unsigned long inet_lnaof __P((struct in_addr)); -- cgit v1.1