xref: /original-bsd/include/arpa/inet.h (revision c6d5c0d7)
1 /*
2  * Copyright (c) 1983 Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)inet.h	5.5 (Berkeley) 02/21/91
8  */
9 
10 /* External definitions for functions in inet(3) */
11 
12 #include <sys/cdefs.h>
13 
14 __BEGIN_DECLS
15 extern unsigned long	 inet_addr __P((const char *));
16 extern unsigned long	 inet_lnaof __P((struct in_addr));
17 extern struct in_addr	 inet_makeaddr __P((int , int));
18 extern unsigned long	 inet_netof __P((struct in_addr));
19 extern unsigned long	 inet_network __P((const char *));
20 extern char		*inet_ntoa __P((struct in_addr));
21 __END_DECLS
22