freebsd-nq/include/intreswork.h
Cy Schubert b5e14a1344 Vendor import ntp 4.2.8.
Reviewed by:	roberto
Security:	VUXML: 4033d826-87dd-11e4-9079-3c970e169bc2
Security:	http://www.kb.cert.org/vuls/id/852879
Security:	CVE-2014-9293
Security	CVE-2014-9294
Security	CVE-2014-9295
Security	CVE-2014-9296
2014-12-20 22:52:39 +00:00

30 lines
808 B
C

/*
* 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 */