mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-08 13:39:25 -04:00
32 lines
878 B
C
32 lines
878 B
C
/* $NetBSD: intreswork.h,v 1.3 2015/07/10 14:20:29 christos Exp $ */
|
|
|
|
/*
|
|
* intreswork.h -- declarations private to ntp_intres.c, ntp_worker.c.
|
|
*/
|
|
#ifndef INTRESWORK_H
|
|
#define INTRESWORK_H
|
|
|
|
#include "ntp_worker.h"
|
|
|
|
#ifdef WORKER
|
|
|
|
extern int blocking_getaddrinfo(blocking_child *,
|
|
blocking_pipe_header *);
|
|
extern int blocking_getnameinfo(blocking_child *,
|
|
blocking_pipe_header *);
|
|
|
|
#ifdef TEST_BLOCKING_WORKER
|
|
extern void gai_test_callback(int rescode, int gai_errno,
|
|
void *context, const char *name,
|
|
const char *service,
|
|
const struct addrinfo *hints,
|
|
const struct addrinfo *ai_res);
|
|
extern void gni_test_callback(int rescode, int gni_errno,
|
|
sockaddr_u *psau, int flags,
|
|
const char *host,
|
|
const char *service, void *context);
|
|
#endif /* TEST_BLOCKING_WORKER */
|
|
#endif /* WORKER */
|
|
|
|
#endif /* INTRESWORK_H */
|