sd: remove 'ssd' driver support
[unleashed/tickless.git] / usr / src / lib / libresolv2 / include / arpa / port_inet.h
blob5eb1787f5695c858c0d9ef20cdefb540214a5188
1 /*
2 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
4 */
6 /*
8 * All rights reserved.
9 */
11 #ifndef _ARPA_PORT_INET_H
12 #define _ARPA_PORT_INET_H
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
19 * these are libresolv2 functions that were made local in previous versions
20 * we rename them res_* because they conflict with libnsl or libsocket
23 #define inet_lnaof res_inet_lnaof /* libsocket */
24 ulong_t inet_lnaof(struct in_addr in);
26 #define inet_makeaddr res_inet_makeaddr /* libsocket */
27 struct in_addr inet_makeaddr(ulong_t net, ulong_t host);
29 #define inet_netof res_inet_netof /* libnsl */
30 ulong_t inet_netof(struct in_addr in);
32 #define inet_network res_inet_network /* libsocket */
33 ulong_t inet_network(register const char *cp);
35 #ifdef __cplusplus
37 #endif
41 #endif /* _ARPA_PORT_INET_H */