WPILibC++ 2023.4.3-108-ge5452e3
win.h File Reference
#include <winsock2.h>
#include <mswsock.h>
#include <ws2tcpip.h>
#include <windows.h>
#include <process.h>
#include <signal.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <stdint.h>
#include "uv/tree.h"
#include "uv/threadpool.h"

Go to the source code of this file.

Classes

struct  _AFD_POLL_HANDLE_INFO
 
struct  _AFD_POLL_INFO
 
struct  uv_buf_t
 It should be possible to cast uv_buf_t[] to WSABUF[] see http://msdn.microsoft.com/en-us/library/ms741542(v=vs.85).aspx. More...
 
union  uv_cond_t
 
struct  uv_rwlock_t
 
struct  uv_barrier_t
 
struct  uv_key_t
 
struct  uv_once_s
 
struct  uv__dirent_s
 
struct  uv_lib_t
 

Macros

#define _WIN32_WINNT   0x0600
 
#define SSIZE_MAX   INTPTR_MAX
 
#define _SSIZE_T_
 
#define _SSIZE_T_DEFINED
 
#define LOCALE_INVARIANT   0x007f
 
#define _TCP_INITIAL_RTO_PARAMETERS   _TCP_INITIAL_RTO_PARAMETERS__AVOID
 
#define TCP_INITIAL_RTO_PARAMETERS   TCP_INITIAL_RTO_PARAMETERS__AVOID
 
#define PTCP_INITIAL_RTO_PARAMETERS   PTCP_INITIAL_RTO_PARAMETERS__AVOID
 
#define MAX_PIPENAME_LEN   256
 
#define S_IFLNK   0xA000
 
#define SIGHUP   1
 
#define SIGKILL   9
 
#define SIGWINCH   28
 
#define NSIG   SIGWINCH + 1
 
#define SIGABRT_COMPAT   6
 
#define WSAID_ACCEPTEX
 
#define WSAID_CONNECTEX
 
#define WSAID_GETACCEPTEXSOCKADDRS
 
#define WSAID_DISCONNECTEX
 
#define WSAID_TRANSMITFILE
 
#define UV_MSAFD_PROVIDER_COUNT   4
 
#define UV_ONCE_INIT   { 0, NULL }
 
#define UV_DIR_PRIVATE_FIELDS
 
#define HAVE_DIRENT_TYPES
 
#define UV__DT_DIR   UV_DIRENT_DIR
 
#define UV__DT_FILE   UV_DIRENT_FILE
 
#define UV__DT_LINK   UV_DIRENT_LINK
 
#define UV__DT_FIFO   UV_DIRENT_FIFO
 
#define UV__DT_SOCKET   UV_DIRENT_SOCKET
 
#define UV__DT_CHAR   UV_DIRENT_CHAR
 
#define UV__DT_BLOCK   UV_DIRENT_BLOCK
 
#define UV_DYNAMIC   FAR WINAPI
 
#define UV_LOOP_PRIVATE_FIELDS
 
#define UV_REQ_TYPE_PRIVATE
 
#define UV_REQ_PRIVATE_FIELDS
 
#define UV_WRITE_PRIVATE_FIELDS
 
#define UV_CONNECT_PRIVATE_FIELDS    /* empty */
 
#define UV_SHUTDOWN_PRIVATE_FIELDS    /* empty */
 
#define UV_UDP_SEND_PRIVATE_FIELDS    /* empty */
 
#define UV_PRIVATE_REQ_TYPES
 
#define uv_stream_connection_fields
 
#define uv_stream_server_fields    uv_connection_cb connection_cb;
 
#define UV_STREAM_PRIVATE_FIELDS
 
#define uv_tcp_server_fields
 
#define uv_tcp_connection_fields
 
#define UV_TCP_PRIVATE_FIELDS
 
#define UV_UDP_PRIVATE_FIELDS
 
#define uv_pipe_server_fields
 
#define uv_pipe_connection_fields
 
#define UV_PIPE_PRIVATE_FIELDS
 
#define UV_TTY_PRIVATE_FIELDS
 
#define UV_POLL_PRIVATE_FIELDS
 
#define UV_TIMER_PRIVATE_FIELDS
 
#define UV_ASYNC_PRIVATE_FIELDS
 
#define UV_PREPARE_PRIVATE_FIELDS
 
#define UV_CHECK_PRIVATE_FIELDS
 
#define UV_IDLE_PRIVATE_FIELDS
 
#define UV_HANDLE_PRIVATE_FIELDS
 
#define UV_GETADDRINFO_PRIVATE_FIELDS
 
#define UV_GETNAMEINFO_PRIVATE_FIELDS
 
#define UV_PROCESS_PRIVATE_FIELDS
 
#define UV_FS_PRIVATE_FIELDS
 
#define UV_WORK_PRIVATE_FIELDS    struct uv__work work_req;
 
#define UV_FS_EVENT_PRIVATE_FIELDS
 
#define UV_SIGNAL_PRIVATE_FIELDS
 
#define F_OK   0
 
#define R_OK   4
 
#define W_OK   2
 
#define X_OK   1
 
#define UV_FS_O_APPEND   _O_APPEND
 
#define UV_FS_O_CREAT   _O_CREAT
 
#define UV_FS_O_EXCL   _O_EXCL
 
#define UV_FS_O_FILEMAP   0x20000000
 
#define UV_FS_O_RANDOM   _O_RANDOM
 
#define UV_FS_O_RDONLY   _O_RDONLY
 
#define UV_FS_O_RDWR   _O_RDWR
 
#define UV_FS_O_SEQUENTIAL   _O_SEQUENTIAL
 
#define UV_FS_O_SHORT_LIVED   _O_SHORT_LIVED
 
#define UV_FS_O_TEMPORARY   _O_TEMPORARY
 
#define UV_FS_O_TRUNC   _O_TRUNC
 
#define UV_FS_O_WRONLY   _O_WRONLY
 
#define UV_FS_O_DIRECT   0x02000000 /* FILE_FLAG_NO_BUFFERING */
 
#define UV_FS_O_DIRECTORY   0
 
#define UV_FS_O_DSYNC   0x04000000 /* FILE_FLAG_WRITE_THROUGH */
 
#define UV_FS_O_EXLOCK   0x10000000 /* EXCLUSIVE SHARING MODE */
 
#define UV_FS_O_NOATIME   0
 
#define UV_FS_O_NOCTTY   0
 
#define UV_FS_O_NOFOLLOW   0
 
#define UV_FS_O_NONBLOCK   0
 
#define UV_FS_O_SYMLINK   0
 
#define UV_FS_O_SYNC   0x08000000 /* FILE_FLAG_WRITE_THROUGH */
 

Typedefs

typedef intptr_t ssize_t
 
typedef BOOL(PASCAL * LPFN_ACCEPTEX) (SOCKET sListenSocket, SOCKET sAcceptSocket, PVOID lpOutputBuffer, DWORD dwReceiveDataLength, DWORD dwLocalAddressLength, DWORD dwRemoteAddressLength, LPDWORD lpdwBytesReceived, LPOVERLAPPED lpOverlapped)
 
typedef BOOL(PASCAL * LPFN_CONNECTEX) (SOCKET s, const struct sockaddr *name, int namelen, PVOID lpSendBuffer, DWORD dwSendDataLength, LPDWORD lpdwBytesSent, LPOVERLAPPED lpOverlapped)
 
typedef void(PASCAL * LPFN_GETACCEPTEXSOCKADDRS) (PVOID lpOutputBuffer, DWORD dwReceiveDataLength, DWORD dwLocalAddressLength, DWORD dwRemoteAddressLength, LPSOCKADDR *LocalSockaddr, LPINT LocalSockaddrLength, LPSOCKADDR *RemoteSockaddr, LPINT RemoteSockaddrLength)
 
typedef BOOL(PASCAL * LPFN_DISCONNECTEX) (SOCKET hSocket, LPOVERLAPPED lpOverlapped, DWORD dwFlags, DWORD reserved)
 
typedef BOOL(PASCAL * LPFN_TRANSMITFILE) (SOCKET hSocket, HANDLE hFile, DWORD nNumberOfBytesToWrite, DWORD nNumberOfBytesPerSend, LPOVERLAPPED lpOverlapped, LPTRANSMIT_FILE_BUFFERS lpTransmitBuffers, DWORD dwFlags)
 
typedef PVOID RTL_SRWLOCK
 
typedef RTL_SRWLOCK SRWLOCK
 
typedef RTL_SRWLOCKPSRWLOCK
 
typedef int(WSAAPI * LPFN_WSARECV) (SOCKET socket, LPWSABUF buffers, DWORD buffer_count, LPDWORD bytes, LPDWORD flags, LPWSAOVERLAPPED overlapped, LPWSAOVERLAPPED_COMPLETION_ROUTINE completion_routine)
 
typedef int(WSAAPI * LPFN_WSARECVFROM) (SOCKET socket, LPWSABUF buffers, DWORD buffer_count, LPDWORD bytes, LPDWORD flags, struct sockaddr *addr, LPINT addr_len, LPWSAOVERLAPPED overlapped, LPWSAOVERLAPPED_COMPLETION_ROUTINE completion_routine)
 
typedef LONG NTSTATUS
 
typedef NTSTATUSPNTSTATUS
 
typedef PVOID CONDITION_VARIABLE
 
typedef PVOID * PCONDITION_VARIABLE
 
typedef struct _AFD_POLL_HANDLE_INFO AFD_POLL_HANDLE_INFO
 
typedef struct _AFD_POLL_HANDLE_INFOPAFD_POLL_HANDLE_INFO
 
typedef struct _AFD_POLL_INFO AFD_POLL_INFO
 
typedef struct _AFD_POLL_INFOPAFD_POLL_INFO
 
typedef struct uv_buf_t uv_buf_t
 It should be possible to cast uv_buf_t[] to WSABUF[] see http://msdn.microsoft.com/en-us/library/ms741542(v=vs.85).aspx. More...
 
typedef int uv_file
 
typedef SOCKET uv_os_sock_t
 
typedef HANDLE uv_os_fd_t
 
typedef int uv_pid_t
 
typedef HANDLE uv_thread_t
 
typedef HANDLE uv_sem_t
 
typedef CRITICAL_SECTION uv_mutex_t
 
typedef struct uv_once_s uv_once_t
 
typedef unsigned char uv_uid_t
 
typedef unsigned char uv_gid_t
 
typedef struct uv__dirent_s uv__dirent_t
 

Macro Definition Documentation

◆ _SSIZE_T_

#define _SSIZE_T_

◆ _SSIZE_T_DEFINED

#define _SSIZE_T_DEFINED

◆ _TCP_INITIAL_RTO_PARAMETERS

#define _TCP_INITIAL_RTO_PARAMETERS   _TCP_INITIAL_RTO_PARAMETERS__AVOID

◆ _WIN32_WINNT

#define _WIN32_WINNT   0x0600

◆ F_OK

#define F_OK   0

◆ HAVE_DIRENT_TYPES

#define HAVE_DIRENT_TYPES

◆ LOCALE_INVARIANT

#define LOCALE_INVARIANT   0x007f

◆ MAX_PIPENAME_LEN

#define MAX_PIPENAME_LEN   256

◆ NSIG

#define NSIG   SIGWINCH + 1

◆ PTCP_INITIAL_RTO_PARAMETERS

#define PTCP_INITIAL_RTO_PARAMETERS   PTCP_INITIAL_RTO_PARAMETERS__AVOID

◆ R_OK

#define R_OK   4

◆ S_IFLNK

#define S_IFLNK   0xA000

◆ SIGABRT_COMPAT

#define SIGABRT_COMPAT   6

◆ SIGHUP

#define SIGHUP   1

◆ SIGKILL

#define SIGKILL   9

◆ SIGWINCH

#define SIGWINCH   28

◆ SSIZE_MAX

#define SSIZE_MAX   INTPTR_MAX

◆ TCP_INITIAL_RTO_PARAMETERS

#define TCP_INITIAL_RTO_PARAMETERS   TCP_INITIAL_RTO_PARAMETERS__AVOID

◆ UV__DT_BLOCK

#define UV__DT_BLOCK   UV_DIRENT_BLOCK

◆ UV__DT_CHAR

#define UV__DT_CHAR   UV_DIRENT_CHAR

◆ UV__DT_DIR

#define UV__DT_DIR   UV_DIRENT_DIR

◆ UV__DT_FIFO

#define UV__DT_FIFO   UV_DIRENT_FIFO

◆ UV__DT_FILE

#define UV__DT_FILE   UV_DIRENT_FILE

◆ UV__DT_LINK

#define UV__DT_LINK   UV_DIRENT_LINK

◆ UV__DT_SOCKET

#define UV__DT_SOCKET   UV_DIRENT_SOCKET

◆ UV_ASYNC_PRIVATE_FIELDS

#define UV_ASYNC_PRIVATE_FIELDS
Value:
struct uv_req_s async_req; \
uv_async_cb async_cb; \
/* char to avoid alignment issues */ \
char volatile async_sent;
Definition: uv.h:404

◆ UV_CHECK_PRIVATE_FIELDS

#define UV_CHECK_PRIVATE_FIELDS
Value:
uv_check_t* check_prev; \
uv_check_t* check_next; \
uv_check_cb check_cb;
Definition: uv.h:832

◆ UV_CONNECT_PRIVATE_FIELDS

#define UV_CONNECT_PRIVATE_FIELDS    /* empty */

◆ UV_DIR_PRIVATE_FIELDS

#define UV_DIR_PRIVATE_FIELDS
Value:
HANDLE dir_handle; \
WIN32_FIND_DATAW find_data; \
BOOL need_find_call;

◆ UV_DYNAMIC

#define UV_DYNAMIC   FAR WINAPI

◆ UV_FS_EVENT_PRIVATE_FIELDS

#define UV_FS_EVENT_PRIVATE_FIELDS
Value:
struct uv_fs_event_req_s { \
UV_REQ_FIELDS \
} req; \
HANDLE dir_handle; \
int req_pending; \
uv_fs_event_cb cb; \
WCHAR* filew; \
WCHAR* short_filew; \
WCHAR* dirw; \
char* buffer;
\rst A contiguous memory buffer with an optional growing ability.
Definition: core.h:862

◆ UV_FS_O_APPEND

#define UV_FS_O_APPEND   _O_APPEND

◆ UV_FS_O_CREAT

#define UV_FS_O_CREAT   _O_CREAT

◆ UV_FS_O_DIRECT

#define UV_FS_O_DIRECT   0x02000000 /* FILE_FLAG_NO_BUFFERING */

◆ UV_FS_O_DIRECTORY

#define UV_FS_O_DIRECTORY   0

◆ UV_FS_O_DSYNC

#define UV_FS_O_DSYNC   0x04000000 /* FILE_FLAG_WRITE_THROUGH */

◆ UV_FS_O_EXCL

#define UV_FS_O_EXCL   _O_EXCL

◆ UV_FS_O_EXLOCK

#define UV_FS_O_EXLOCK   0x10000000 /* EXCLUSIVE SHARING MODE */

◆ UV_FS_O_FILEMAP

#define UV_FS_O_FILEMAP   0x20000000

◆ UV_FS_O_NOATIME

#define UV_FS_O_NOATIME   0

◆ UV_FS_O_NOCTTY

#define UV_FS_O_NOCTTY   0

◆ UV_FS_O_NOFOLLOW

#define UV_FS_O_NOFOLLOW   0

◆ UV_FS_O_NONBLOCK

#define UV_FS_O_NONBLOCK   0

◆ UV_FS_O_RANDOM

#define UV_FS_O_RANDOM   _O_RANDOM

◆ UV_FS_O_RDONLY

#define UV_FS_O_RDONLY   _O_RDONLY

◆ UV_FS_O_RDWR

#define UV_FS_O_RDWR   _O_RDWR

◆ UV_FS_O_SEQUENTIAL

#define UV_FS_O_SEQUENTIAL   _O_SEQUENTIAL

◆ UV_FS_O_SHORT_LIVED

#define UV_FS_O_SHORT_LIVED   _O_SHORT_LIVED

◆ UV_FS_O_SYMLINK

#define UV_FS_O_SYMLINK   0

◆ UV_FS_O_SYNC

#define UV_FS_O_SYNC   0x08000000 /* FILE_FLAG_WRITE_THROUGH */

◆ UV_FS_O_TEMPORARY

#define UV_FS_O_TEMPORARY   _O_TEMPORARY

◆ UV_FS_O_TRUNC

#define UV_FS_O_TRUNC   _O_TRUNC

◆ UV_FS_O_WRONLY

#define UV_FS_O_WRONLY   _O_WRONLY

◆ UV_FS_PRIVATE_FIELDS

#define UV_FS_PRIVATE_FIELDS
Value:
struct uv__work work_req; \
int flags; \
DWORD sys_errno_; \
union { \
/* TODO: remove me in 0.9. */ \
WCHAR* pathw; \
int fd; \
} file; \
union { \
struct { \
int mode; \
WCHAR* new_pathw; \
int file_flags; \
int fd_out; \
unsigned int nbufs; \
uv_buf_t* bufs; \
int64_t offset; \
uv_buf_t bufsml[4]; \
} info; \
struct { \
double atime; \
double mtime; \
} time; \
} fs;
then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file
Definition: ThirdPartyNotices.txt:192
Definition: MappedFileRegion.h:12
flags
Definition: http_parser.h:206
Definition: threadpool.h:30

◆ UV_GETADDRINFO_PRIVATE_FIELDS

#define UV_GETADDRINFO_PRIVATE_FIELDS
Value:
struct uv__work work_req; \
uv_getaddrinfo_cb getaddrinfo_cb; \
void* alloc; \
WCHAR* node; \
WCHAR* service; \
/* The addrinfoW field is used to store a pointer to the hints, and */ \
/* later on to store the result of GetAddrInfoW. The final result will */ \
/* be converted to struct addrinfo* and stored in the addrinfo field. */ \
struct addrinfoW* addrinfow; \
struct addrinfo* addrinfo; \
int retcode;

◆ UV_GETNAMEINFO_PRIVATE_FIELDS

#define UV_GETNAMEINFO_PRIVATE_FIELDS
Value:
struct uv__work work_req; \
uv_getnameinfo_cb getnameinfo_cb; \
struct sockaddr_storage storage; \
int flags; \
char host[NI_MAXHOST]; \
char service[NI_MAXSERV]; \
int retcode;
#define NI_MAXHOST
Definition: unix.h:67
#define NI_MAXSERV
Definition: unix.h:71

◆ UV_HANDLE_PRIVATE_FIELDS

#define UV_HANDLE_PRIVATE_FIELDS
Value:
uv_handle_t* endgame_next; \
unsigned int flags;
Definition: uv.h:441

◆ UV_IDLE_PRIVATE_FIELDS

#define UV_IDLE_PRIVATE_FIELDS
Value:
uv_idle_t* idle_prev; \
uv_idle_t* idle_next; \
uv_idle_cb idle_cb;
Definition: uv.h:842

◆ UV_LOOP_PRIVATE_FIELDS

#define UV_LOOP_PRIVATE_FIELDS

◆ UV_MSAFD_PROVIDER_COUNT

#define UV_MSAFD_PROVIDER_COUNT   4

◆ UV_ONCE_INIT

#define UV_ONCE_INIT   { 0, NULL }

◆ uv_pipe_connection_fields

#define uv_pipe_connection_fields
Value:
uv_timer_t* eof_timer; \
uv_write_t dummy; /* TODO: retained for ABI compat; remove this in v2.x. */ \
DWORD ipc_remote_pid; \
union { \
uint32_t payload_remaining; \
uint64_t dummy; /* TODO: retained for ABI compat; remove this in v2.x. */ \
} ipc_data_frame; \
void* ipc_xfer_queue[2]; \
int ipc_xfer_queue_length; \
uv_write_t* non_overlapped_writes_tail; \
CRITICAL_SECTION readfile_thread_lock; \
volatile HANDLE readfile_thread_handle;
Definition: uv.h:868

◆ UV_PIPE_PRIVATE_FIELDS

#define UV_PIPE_PRIVATE_FIELDS
Value:
HANDLE handle; \
WCHAR* name; \
union { \
struct { uv_pipe_server_fields } serv; \
struct { uv_pipe_connection_fields } conn; \
} pipe;
#define uv_pipe_server_fields
Definition: win.h:474
#define uv_pipe_connection_fields
Definition: win.h:479

◆ uv_pipe_server_fields

#define uv_pipe_server_fields
Value:
int pending_instances; \
uv_pipe_accept_t* accept_reqs; \
uv_pipe_accept_t* pending_accepts;

◆ UV_POLL_PRIVATE_FIELDS

#define UV_POLL_PRIVATE_FIELDS
Value:
SOCKET socket; \
/* Used in fast mode */ \
SOCKET peer_socket; \
AFD_POLL_INFO afd_poll_info_1; \
AFD_POLL_INFO afd_poll_info_2; \
/* Used in fast and slow mode. */ \
uv_req_t poll_req_1; \
uv_req_t poll_req_2; \
unsigned char submitted_events_1; \
unsigned char submitted_events_2; \
unsigned char mask_events_1; \
unsigned char mask_events_2; \
unsigned char events;

◆ UV_PREPARE_PRIVATE_FIELDS

#define UV_PREPARE_PRIVATE_FIELDS
Value:
uv_prepare_t* prepare_prev; \
uv_prepare_t* prepare_next; \
uv_prepare_cb prepare_cb;
Definition: uv.h:822

◆ UV_PRIVATE_REQ_TYPES

#define UV_PRIVATE_REQ_TYPES
Value:
typedef struct uv_pipe_accept_s { \
UV_REQ_FIELDS \
HANDLE pipeHandle; \
struct uv_pipe_accept_s* next_pending; \
} uv_pipe_accept_t; \
\
typedef struct uv_tcp_accept_s { \
UV_REQ_FIELDS \
SOCKET accept_socket; \
char accept_buffer[sizeof(struct sockaddr_storage) * 2 + 32]; \
HANDLE event_handle; \
HANDLE wait_handle; \
struct uv_tcp_accept_s* next_pending; \
} uv_tcp_accept_t; \
\
typedef struct uv_read_s { \
UV_REQ_FIELDS \
HANDLE event_handle; \
HANDLE wait_handle; \
} uv_read_t;

◆ UV_PROCESS_PRIVATE_FIELDS

#define UV_PROCESS_PRIVATE_FIELDS
Value:
struct uv_process_exit_s { \
UV_REQ_FIELDS \
} exit_req; \
BYTE* child_stdio_buffer; \
int exit_signal; \
HANDLE wait_handle; \
HANDLE process_handle; \
volatile char exit_cb_pending;

◆ UV_REQ_PRIVATE_FIELDS

#define UV_REQ_PRIVATE_FIELDS
Value:
union { \
/* Used by I/O operations */ \
struct { \
OVERLAPPED overlapped; \
size_t queued_bytes; \
} io; \
/* in v2, we can move these to the UV_CONNECT_PRIVATE_FIELDS */ \
struct { \
ULONG_PTR result; /* overlapped.Internal is reused to hold the result */\
HANDLE pipeHandle; \
DWORD duplex_flags; \
} connect; \
} u; \
struct uv_req_s* next_req;
result
Definition: format.h:2564

◆ UV_REQ_TYPE_PRIVATE

#define UV_REQ_TYPE_PRIVATE
Value:
/* TODO: remove the req suffix */ \
UV_ACCEPT, \
UV_FS_EVENT_REQ, \
UV_POLL_REQ, \
UV_PROCESS_EXIT, \
UV_READ, \
UV_UDP_RECV, \
UV_WAKEUP, \
UV_SIGNAL_REQ,

◆ UV_SHUTDOWN_PRIVATE_FIELDS

#define UV_SHUTDOWN_PRIVATE_FIELDS    /* empty */

◆ UV_SIGNAL_PRIVATE_FIELDS

#define UV_SIGNAL_PRIVATE_FIELDS
Value:
RB_ENTRY(uv_signal_s) tree_entry; \
struct uv_req_s signal_req; \
unsigned long pending_signum;
Definition: uv.h:1586
#define RB_ENTRY(type)
Definition: tree.h:310

◆ uv_stream_connection_fields

#define uv_stream_connection_fields
Value:
unsigned int write_reqs_pending; \
uv_shutdown_t* shutdown_req;

◆ UV_STREAM_PRIVATE_FIELDS

#define UV_STREAM_PRIVATE_FIELDS
Value:
unsigned int reqs_pending; \
int activecnt; \
uv_read_t read_req; \
union { \
struct { uv_stream_connection_fields } conn; \
struct { uv_stream_server_fields } serv; \
} stream;
#define uv_stream_server_fields
Definition: win.h:431
#define uv_stream_connection_fields
Definition: win.h:427

◆ uv_stream_server_fields

#define uv_stream_server_fields    uv_connection_cb connection_cb;

◆ uv_tcp_connection_fields

#define uv_tcp_connection_fields
Value:
uv_buf_t read_buffer; \
LPFN_CONNECTEX func_connectex;
It should be possible to cast uv_buf_t[] to WSABUF[] see http://msdn.microsoft.com/en-us/library/ms74...
Definition: unix.h:113

◆ UV_TCP_PRIVATE_FIELDS

#define UV_TCP_PRIVATE_FIELDS
Value:
SOCKET socket; \
int delayed_error; \
union { \
struct { uv_tcp_server_fields } serv; \
struct { uv_tcp_connection_fields } conn; \
} tcp;
#define uv_tcp_server_fields
Definition: win.h:443
#define uv_tcp_connection_fields
Definition: win.h:449

◆ uv_tcp_server_fields

#define uv_tcp_server_fields
Value:
uv_tcp_accept_t* accept_reqs; \
unsigned int processed_accepts; \
uv_tcp_accept_t* pending_accepts; \
LPFN_ACCEPTEX func_acceptex;

◆ UV_TIMER_PRIVATE_FIELDS

#define UV_TIMER_PRIVATE_FIELDS
Value:
void* heap_node[3]; \
int unused; \
uint64_t timeout; \
uint64_t repeat; \
uint64_t start_id; \
uv_timer_cb timer_cb;

◆ UV_TTY_PRIVATE_FIELDS

#define UV_TTY_PRIVATE_FIELDS
Value:
HANDLE handle; \
union { \
struct { \
/* Used for readable TTY handles */ \
/* TODO: remove me in v2.x. */ \
HANDLE unused_; \
uv_buf_t read_line_buffer; \
HANDLE read_raw_wait; \
/* Fields used for translating win keystrokes into vt100 characters */ \
char last_key[8]; \
unsigned char last_key_offset; \
unsigned char last_key_len; \
WCHAR last_utf16_high_surrogate; \
INPUT_RECORD last_input_record; \
} rd; \
struct { \
/* Used for writable TTY handles */ \
/* utf8-to-utf16 conversion state */ \
unsigned int utf8_codepoint; \
unsigned char utf8_bytes_left; \
/* eol conversion state */ \
unsigned char previous_eol; \
/* ansi parser state */ \
unsigned short ansi_parser_state; \
unsigned char ansi_csi_argc; \
unsigned short ansi_csi_argv[4]; \
COORD saved_position; \
WORD saved_attributes; \
} wr; \
} tty;
compound_unit< energy::joules, inverse< mass::kilogram > > rd
Definition: radiation.h:61

◆ UV_UDP_PRIVATE_FIELDS

#define UV_UDP_PRIVATE_FIELDS
Value:
SOCKET socket; \
unsigned int reqs_pending; \
int activecnt; \
uv_req_t recv_req; \
uv_buf_t recv_buffer; \
struct sockaddr_storage recv_from; \
int recv_from_len; \
uv_udp_recv_cb recv_cb; \
uv_alloc_cb alloc_cb; \
LPFN_WSARECV func_wsarecv; \
LPFN_WSARECVFROM func_wsarecvfrom;

◆ UV_UDP_SEND_PRIVATE_FIELDS

#define UV_UDP_SEND_PRIVATE_FIELDS    /* empty */

◆ UV_WORK_PRIVATE_FIELDS

#define UV_WORK_PRIVATE_FIELDS    struct uv__work work_req;

◆ UV_WRITE_PRIVATE_FIELDS

#define UV_WRITE_PRIVATE_FIELDS
Value:
int coalesced; \
uv_buf_t write_buffer; \
HANDLE event_handle; \
HANDLE wait_handle;
void write_buffer(std::basic_ostream< Char > &os, buffer< Char > &buf)
Definition: ostream.h:110

◆ W_OK

#define W_OK   2

◆ WSAID_ACCEPTEX

#define WSAID_ACCEPTEX
Value:
{0xb5367df1, 0xcbac, 0x11cf, \
{0x95, 0xca, 0x00, 0x80, 0x5f, 0x48, 0xa1, 0x92}}

◆ WSAID_CONNECTEX

#define WSAID_CONNECTEX
Value:
{0x25a207b9, 0xddf3, 0x4660, \
{0x8e, 0xe9, 0x76, 0xe5, 0x8c, 0x74, 0x06, 0x3e}}

◆ WSAID_DISCONNECTEX

#define WSAID_DISCONNECTEX
Value:
{0x7fda2e11, 0x8630, 0x436f, \
{0xa0, 0x31, 0xf5, 0x36, 0xa6, 0xee, 0xc1, 0x57}}

◆ WSAID_GETACCEPTEXSOCKADDRS

#define WSAID_GETACCEPTEXSOCKADDRS
Value:
{0xb5367df2, 0xcbac, 0x11cf, \
{0x95, 0xca, 0x00, 0x80, 0x5f, 0x48, 0xa1, 0x92}}

◆ WSAID_TRANSMITFILE

#define WSAID_TRANSMITFILE
Value:
{0xb5367df0, 0xcbac, 0x11cf, \
{0x95, 0xca, 0x00, 0x80, 0x5f, 0x48, 0xa1, 0x92}}

◆ X_OK

#define X_OK   1

Typedef Documentation

◆ AFD_POLL_HANDLE_INFO

◆ AFD_POLL_INFO

typedef struct _AFD_POLL_INFO AFD_POLL_INFO

◆ CONDITION_VARIABLE

typedef PVOID CONDITION_VARIABLE

◆ LPFN_ACCEPTEX

typedef BOOL(PASCAL * LPFN_ACCEPTEX) (SOCKET sListenSocket, SOCKET sAcceptSocket, PVOID lpOutputBuffer, DWORD dwReceiveDataLength, DWORD dwLocalAddressLength, DWORD dwRemoteAddressLength, LPDWORD lpdwBytesReceived, LPOVERLAPPED lpOverlapped)

◆ LPFN_CONNECTEX

typedef BOOL(PASCAL * LPFN_CONNECTEX) (SOCKET s, const struct sockaddr *name, int namelen, PVOID lpSendBuffer, DWORD dwSendDataLength, LPDWORD lpdwBytesSent, LPOVERLAPPED lpOverlapped)

◆ LPFN_DISCONNECTEX

typedef BOOL(PASCAL * LPFN_DISCONNECTEX) (SOCKET hSocket, LPOVERLAPPED lpOverlapped, DWORD dwFlags, DWORD reserved)

◆ LPFN_GETACCEPTEXSOCKADDRS

typedef void(PASCAL * LPFN_GETACCEPTEXSOCKADDRS) (PVOID lpOutputBuffer, DWORD dwReceiveDataLength, DWORD dwLocalAddressLength, DWORD dwRemoteAddressLength, LPSOCKADDR *LocalSockaddr, LPINT LocalSockaddrLength, LPSOCKADDR *RemoteSockaddr, LPINT RemoteSockaddrLength)

◆ LPFN_TRANSMITFILE

typedef BOOL(PASCAL * LPFN_TRANSMITFILE) (SOCKET hSocket, HANDLE hFile, DWORD nNumberOfBytesToWrite, DWORD nNumberOfBytesPerSend, LPOVERLAPPED lpOverlapped, LPTRANSMIT_FILE_BUFFERS lpTransmitBuffers, DWORD dwFlags)

◆ LPFN_WSARECV

typedef int(WSAAPI * LPFN_WSARECV) (SOCKET socket, LPWSABUF buffers, DWORD buffer_count, LPDWORD bytes, LPDWORD flags, LPWSAOVERLAPPED overlapped, LPWSAOVERLAPPED_COMPLETION_ROUTINE completion_routine)

◆ LPFN_WSARECVFROM

typedef int(WSAAPI * LPFN_WSARECVFROM) (SOCKET socket, LPWSABUF buffers, DWORD buffer_count, LPDWORD bytes, LPDWORD flags, struct sockaddr *addr, LPINT addr_len, LPWSAOVERLAPPED overlapped, LPWSAOVERLAPPED_COMPLETION_ROUTINE completion_routine)

◆ NTSTATUS

typedef LONG NTSTATUS

◆ PAFD_POLL_HANDLE_INFO

◆ PAFD_POLL_INFO

typedef struct _AFD_POLL_INFO * PAFD_POLL_INFO

◆ PCONDITION_VARIABLE

typedef PVOID * PCONDITION_VARIABLE

◆ PNTSTATUS

typedef NTSTATUS* PNTSTATUS

◆ PSRWLOCK

typedef RTL_SRWLOCK * PSRWLOCK

◆ RTL_SRWLOCK

typedef PVOID RTL_SRWLOCK

◆ SRWLOCK

◆ ssize_t

typedef intptr_t ssize_t

◆ uv__dirent_t

typedef struct uv__dirent_s uv__dirent_t

◆ uv_buf_t

typedef struct uv_buf_t uv_buf_t

It should be possible to cast uv_buf_t[] to WSABUF[] see http://msdn.microsoft.com/en-us/library/ms741542(v=vs.85).aspx.

◆ uv_file

typedef int uv_file

◆ uv_gid_t

typedef unsigned char uv_gid_t

◆ uv_mutex_t

typedef CRITICAL_SECTION uv_mutex_t

◆ uv_once_t

typedef struct uv_once_s uv_once_t

◆ uv_os_fd_t

typedef HANDLE uv_os_fd_t

◆ uv_os_sock_t

typedef SOCKET uv_os_sock_t

◆ uv_pid_t

typedef int uv_pid_t

◆ uv_sem_t

typedef HANDLE uv_sem_t

◆ uv_thread_t

typedef HANDLE uv_thread_t

◆ uv_uid_t

typedef unsigned char uv_uid_t