2 * intreswork.h -- declarations private to ntp_intres.c, ntp_worker.c.
7 #include "ntp_worker.h"
11 extern int blocking_getaddrinfo(blocking_child *,
12 blocking_pipe_header *);
13 extern int blocking_getnameinfo(blocking_child *,
14 blocking_pipe_header *);
16 #ifdef TEST_BLOCKING_WORKER
17 extern void gai_test_callback(int rescode, int gai_errno,
18 void *context, const char *name,
20 const struct addrinfo *hints,
21 const struct addrinfo *ai_res);
22 extern void gni_test_callback(int rescode, int gni_errno,
23 sockaddr_u *psau, int flags,
25 const char *service, void *context);
26 #endif /* TEST_BLOCKING_WORKER */
29 #endif /* INTRESWORK_H */