1275970Scy/* 2275970Scy * intreswork.h -- declarations private to ntp_intres.c, ntp_worker.c. 3275970Scy */ 4275970Scy#ifndef INTRESWORK_H 5275970Scy#define INTRESWORK_H 6275970Scy 7275970Scy#include "ntp_worker.h" 8275970Scy 9275970Scy#ifdef WORKER 10275970Scy 11275970Scyextern int blocking_getaddrinfo(blocking_child *, 12275970Scy blocking_pipe_header *); 13275970Scyextern int blocking_getnameinfo(blocking_child *, 14275970Scy blocking_pipe_header *); 15275970Scy 16275970Scy#ifdef TEST_BLOCKING_WORKER 17275970Scyextern void gai_test_callback(int rescode, int gai_errno, 18275970Scy void *context, const char *name, 19275970Scy const char *service, 20275970Scy const struct addrinfo *hints, 21275970Scy const struct addrinfo *ai_res); 22275970Scyextern void gni_test_callback(int rescode, int gni_errno, 23275970Scy sockaddr_u *psau, int flags, 24275970Scy const char *host, 25275970Scy const char *service, void *context); 26275970Scy#endif /* TEST_BLOCKING_WORKER */ 27275970Scy#endif /* WORKER */ 28275970Scy 29275970Scy#endif /* INTRESWORK_H */ 30