summaryrefslogtreecommitdiff
path: root/pkgtools/compat_headers/files/resolv.h.in
blob: a3c02ab18103c9a493118c53db673619c5d9705a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "config.h"
@include "@real_header@"
@ifndef _COMPAT_RESOLV_H_
@define _COMPAT_RESOLV_H_
#if CH_HPUX_MISSING_RES_PROTO > 0
@ifdef __cplusplus
extern "C" {
@endif
ssize_t res_query(char*, int, int, u_char*, int);
ssize_t res_search(char*, int, int, u_char*, int);
ssize_t res_mkquery(int, const char*, int, int, const char*, int,\
                        const char*, char*, int);
ssize_t res_send(const char*, ssize_t, char*, int);
int res_init();
ssize_t dn_comp(const char*, u_char*, ssize_t, u_char**, u_char**);
ssize_t dn_expand(const u_char*, const u_char*, const u_char*, u_char*, int);
@ifdef __cplusplus
}
@endif
#endif
@endif /* _COMPAT_RESOLV_H_ */