Annotation of embedaddon/ntp/ports/winnt/include/ntp_iocompletionport.h, revision 1.1
1.1 ! misho 1: #if !defined __ntp_iocompletionport_h
! 2: # define __ntp_iocompletionport_h
! 3:
! 4: #include "ntp_fp.h"
! 5: #include "ntp.h"
! 6: #include "clockstuff.h"
! 7:
! 8: # if defined(HAVE_IO_COMPLETION_PORT)
! 9:
! 10: extern void init_io_completion_port(void);
! 11: extern void uninit_io_completion_port(void);
! 12:
! 13: extern int io_completion_port_add_socket(SOCKET fd, struct interface *);
! 14:
! 15: struct refclockio; /* in ntp_refclock.h but inclusion here triggers problems */
! 16: extern int io_completion_port_add_clock_io(struct refclockio *rio);
! 17: extern int io_completion_port_sendto(int, void *, size_t, sockaddr_u *);
! 18:
! 19: extern HANDLE get_io_event(void);
! 20: extern HANDLE get_exit_event(void);
! 21:
! 22: extern int GetReceivedBuffers(void);
! 23:
! 24: # endif
! 25:
! 26: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>