intreswork.h revision 275970
111394Sswallace/* 211394Sswallace * intreswork.h -- declarations private to ntp_intres.c, ntp_worker.c. 311394Sswallace */ 411394Sswallace#ifndef INTRESWORK_H 511394Sswallace#define INTRESWORK_H 611394Sswallace 711394Sswallace#include "ntp_worker.h" 811394Sswallace 911394Sswallace#ifdef WORKER 1011394Sswallace 1111394Sswallaceextern int blocking_getaddrinfo(blocking_child *, 1211394Sswallace blocking_pipe_header *); 1311394Sswallaceextern int blocking_getnameinfo(blocking_child *, 1411394Sswallace blocking_pipe_header *); 1511394Sswallace 1611394Sswallace#ifdef TEST_BLOCKING_WORKER 1711394Sswallaceextern void gai_test_callback(int rescode, int gai_errno, 1811394Sswallace void *context, const char *name, 1911394Sswallace const char *service, 2011394Sswallace const struct addrinfo *hints, 2111394Sswallace const struct addrinfo *ai_res); 2211394Sswallaceextern void gni_test_callback(int rescode, int gni_errno, 2311394Sswallace sockaddr_u *psau, int flags, 2411394Sswallace const char *host, 2511394Sswallace const char *service, void *context); 2611394Sswallace#endif /* TEST_BLOCKING_WORKER */ 2711394Sswallace#endif /* WORKER */ 2811394Sswallace 2911394Sswallace#endif /* INTRESWORK_H */ 3011394Sswallace