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.4 (Berkeley) 06/01/90 8 */ 9 10 /* External definitions for functions in inet(3) */ 11 12 #ifdef __STDC__ 13 extern unsigned long inet_addr(const char *); 14 extern char *inet_ntoa(struct in_addr); 15 extern struct in_addr inet_makeaddr(int , int); 16 extern unsigned long inet_network(const char *); 17 extern unsigned long inet_lnaof(struct in_addr); 18 extern unsigned long inet_netof(struct in_addr); 19 #else 20 extern unsigned long inet_addr(); 21 extern char *inet_ntoa(); 22 extern struct in_addr inet_makeaddr(); 23 extern unsigned long inet_network(); 24 extern unsigned long inet_lnaof(); 25 extern unsigned long inet_netof(); 26 #endif 27