?? ntp_iocompletionport.h
字號(hào):
#if !defined __ntp_iocompletionport_h# define __ntp_iocompletionport_h#include "ntp.h"# if defined(HAVE_IO_COMPLETION_PORT)struct IoCompletionInfo;struct refclockio;typedef int IoCompletionInfoFunction(DWORD Key, struct IoCompletionInfo *, DWORD Bytes);typedef struct IoCompletionInfo { OVERLAPPED overlapped; IoCompletionInfoFunction * iofunction;} IoCompletionInfo;extern void init_io_completion_port (void);extern void uninit_io_completion_port (void);extern int io_completion_port_add_clock_io (struct refclockio * /*rio */);extern void io_completion_port_add_socket (struct interface *);extern DWORD io_completion_port_sendto (struct interface *, struct pkt *, int, struct sockaddr_in*);static int OnSocketRecv(DWORD, struct IoCompletionInfo *, DWORD);static int QueueIORead( struct refclockio * );static int OnIoReadComplete(DWORD, struct IoCompletionInfo *, DWORD);# endif#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -