2 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
13 /* RES_NSID has the same value as RES_NO_NIBBLE, which has been deleted */
14 #define RES_NSID 0x00040000 /* request name server ID */
16 /* RES_DEFAULT has a new value in libbind-6.0 */
18 #define RES_DEFAULT (RES_RECURSE | RES_DEFNAMES | \
19 RES_DNSRCH | RES_NO_NIBBLE2)
22 u_int16_t _getshort
__P((const uchar_t
*));
23 u_int32_t _getlong
__P((const uchar_t
*));
26 /* rename functions so they can be wrapped (see sunw/sunw_wrappers.c */
27 #define p_option isc_p_option
28 const char *p_option(ulong_t option
);
29 #define p_secstodate isc_p_secstodate
30 char *p_secstodate(ulong_t secs
);
32 /* prevent namespace pollution */
33 #define res_protocolnumber __res_protocolnumber
34 #define res_servicenumber __res_servicenumber
42 #endif /* _PORT_RESOLV_H */