intreswork.h revision 280849
1/* 2 * intreswork.h -- declarations private to ntp_intres.c, ntp_worker.c. 3 */ 4#ifndef INTRESWORK_H 5#define INTRESWORK_H 6 7#include "ntp_worker.h" 8 9#ifdef WORKER 10 11extern int blocking_getaddrinfo(blocking_child *, 12 blocking_pipe_header *); 13extern int blocking_getnameinfo(blocking_child *, 14 blocking_pipe_header *); 15 16#ifdef TEST_BLOCKING_WORKER 17extern void gai_test_callback(int rescode, int gai_errno, 18 void *context, const char *name, 19 const char *service, 20 const struct addrinfo *hints, 21 const struct addrinfo *ai_res); 22extern void gni_test_callback(int rescode, int gni_errno, 23 sockaddr_u *psau, int flags, 24 const char *host, 25 const char *service, void *context); 26#endif /* TEST_BLOCKING_WORKER */ 27#endif /* WORKER */ 28 29#endif /* INTRESWORK_H */ 30