File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / ports / winnt / include / ntp_iocompletionport.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:08:38 2012 UTC (12 years, 3 months ago) by misho
Branches: ntp, MAIN
CVS tags: v4_2_6p5p0, v4_2_6p5, HEAD
ntp 4.2.6p5

#if !defined __ntp_iocompletionport_h
# define __ntp_iocompletionport_h

#include "ntp_fp.h"
#include "ntp.h"
#include "clockstuff.h"

# if defined(HAVE_IO_COMPLETION_PORT)

extern	void	init_io_completion_port(void);
extern	void	uninit_io_completion_port(void);

extern	int	io_completion_port_add_socket(SOCKET fd, struct interface *);

struct refclockio; /* in ntp_refclock.h but inclusion here triggers problems */
extern	int	io_completion_port_add_clock_io(struct refclockio *rio);
extern	int	io_completion_port_sendto(int, void *, size_t, sockaddr_u *);

extern	HANDLE	get_io_event(void);
extern	HANDLE	get_exit_event(void);

extern	int	GetReceivedBuffers(void);

# endif

#endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>