xref: /original-bsd/include/arpa/inet.h (revision cde495fc)
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.7 (Berkeley) 04/03/91
8  */
9 
10 #ifndef _INET_H_
11 #define	_INET_H_
12 
13 /* External definitions for functions in inet(3) */
14 
15 #include <sys/cdefs.h>
16 
17 __BEGIN_DECLS
18 extern unsigned long	 inet_addr __P((const char *));
19 extern unsigned long	 inet_lnaof __P((struct in_addr));
20 extern struct in_addr	 inet_makeaddr __P((u_long , u_long));
21 extern unsigned long	 inet_netof __P((struct in_addr));
22 extern unsigned long	 inet_network __P((const char *));
23 extern char		*inet_ntoa __P((struct in_addr));
24 __END_DECLS
25 
26 #endif /* !_INET_H_ */
27