inet.h (1540) | inet.h (2163) |
---|---|
1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 19 unchanged lines hidden (view full) --- 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)inet.h 8.1 (Berkeley) 6/2/93 34 */ 35 | 1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 19 unchanged lines hidden (view full) --- 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)inet.h 8.1 (Berkeley) 6/2/93 34 */ 35 |
36#ifndef _INET_H_ 37#define _INET_H_ | 36#ifndef _ARPA_INET_H_ 37#define _ARPA_INET_H_ |
38 39/* External definitions for functions in inet(3) */ 40 41#include <sys/cdefs.h> 42 43__BEGIN_DECLS 44unsigned long inet_addr __P((const char *)); 45int inet_aton __P((const char *, struct in_addr *)); 46unsigned long inet_lnaof __P((struct in_addr)); 47struct in_addr inet_makeaddr __P((u_long , u_long)); 48unsigned long inet_netof __P((struct in_addr)); 49unsigned long inet_network __P((const char *)); 50char *inet_ntoa __P((struct in_addr)); 51__END_DECLS 52 53#endif /* !_INET_H_ */ | 38 39/* External definitions for functions in inet(3) */ 40 41#include <sys/cdefs.h> 42 43__BEGIN_DECLS 44unsigned long inet_addr __P((const char *)); 45int inet_aton __P((const char *, struct in_addr *)); 46unsigned long inet_lnaof __P((struct in_addr)); 47struct in_addr inet_makeaddr __P((u_long , u_long)); 48unsigned long inet_netof __P((struct in_addr)); 49unsigned long inet_network __P((const char *)); 50char *inet_ntoa __P((struct in_addr)); 51__END_DECLS 52 53#endif /* !_INET_H_ */ |