Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/include/inet_common.h
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/include/inet_common.h
r1765 r2725 7 7 * 8 8 */ 9 #ifndef INET_COMMON_H 10 #define INET_COMMON_H 1 9 11 10 #include "platform.h" 12 PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN 11 13 12 14 /* hostfirst!=0 If we expect this to be a hostname, 13 15 try hostname database first 14 16 */ 15 int INET_resolve(const char *name, struct sockaddr_in *s_in, int hostfirst) ;17 int INET_resolve(const char *name, struct sockaddr_in *s_in, int hostfirst) FAST_FUNC; 16 18 17 19 /* numeric: & 0x8000: "default" instead of "*", … … 20 22 */ 21 23 22 int INET6_resolve(const char *name, struct sockaddr_in6 *sin6) ;24 int INET6_resolve(const char *name, struct sockaddr_in6 *sin6) FAST_FUNC; 23 25 24 26 /* These return malloced string */ 25 char *INET_rresolve(struct sockaddr_in *s_in, int numeric, uint32_t netmask); 26 char *INET6_rresolve(struct sockaddr_in6 *sin6, int numeric); 27 char *INET_rresolve(struct sockaddr_in *s_in, int numeric, uint32_t netmask) FAST_FUNC; 28 char *INET6_rresolve(struct sockaddr_in6 *sin6, int numeric) FAST_FUNC; 29 30 POP_SAVED_FUNCTION_VISIBILITY 31 32 #endif
Note:
See TracChangeset
for help on using the changeset viewer.