dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / lib / libresolv2 / include / port_resolv.h
blobcd1a97d40cfd32ea376b0079742c9abe16bba62b
1 /*
2 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
4 */
6 #ifndef _PORT_RESOLV_H
7 #define _PORT_RESOLV_H
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
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 */
17 #undef RES_DEFAULT
18 #define RES_DEFAULT (RES_RECURSE | RES_DEFNAMES | \
19 RES_DNSRCH | RES_NO_NIBBLE2)
21 #ifndef __ultrix__
22 u_int16_t _getshort __P((const uchar_t *));
23 u_int32_t _getlong __P((const uchar_t *));
24 #endif
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
38 #ifdef __cplusplus
40 #endif
42 #endif /* _PORT_RESOLV_H */