27#if defined(BUILDING_UV_SHARED) && defined(USING_UV_SHARED)
28#error "Define either BUILDING_UV_SHARED or USING_UV_SHARED, not both."
33# if defined(BUILDING_UV_SHARED)
35# define UV_EXTERN __declspec(dllexport)
36# elif defined(USING_UV_SHARED)
38# define UV_EXTERN __declspec(dllimport)
44# define UV_EXTERN __attribute__((visibility("default")))
45#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
46# define UV_EXTERN __global
65#define UV_ERRNO_MAP(XX) \
66 XX(E2BIG, "argument list too long") \
67 XX(EACCES, "permission denied") \
68 XX(EADDRINUSE, "address already in use") \
69 XX(EADDRNOTAVAIL, "address not available") \
70 XX(EAFNOSUPPORT, "address family not supported") \
71 XX(EAGAIN, "resource temporarily unavailable") \
72 XX(EAI_ADDRFAMILY, "address family not supported") \
73 XX(EAI_AGAIN, "temporary failure") \
74 XX(EAI_BADFLAGS, "bad ai_flags value") \
75 XX(EAI_BADHINTS, "invalid value for hints") \
76 XX(EAI_CANCELED, "request canceled") \
77 XX(EAI_FAIL, "permanent failure") \
78 XX(EAI_FAMILY, "ai_family not supported") \
79 XX(EAI_MEMORY, "out of memory") \
80 XX(EAI_NODATA, "no address") \
81 XX(EAI_NONAME, "unknown node or service") \
82 XX(EAI_OVERFLOW, "argument buffer overflow") \
83 XX(EAI_PROTOCOL, "resolved protocol is unknown") \
84 XX(EAI_SERVICE, "service not available for socket type") \
85 XX(EAI_SOCKTYPE, "socket type not supported") \
86 XX(EALREADY, "connection already in progress") \
87 XX(EBADF, "bad file descriptor") \
88 XX(EBUSY, "resource busy or locked") \
89 XX(ECANCELED, "operation canceled") \
90 XX(ECHARSET, "invalid Unicode character") \
91 XX(ECONNABORTED, "software caused connection abort") \
92 XX(ECONNREFUSED, "connection refused") \
93 XX(ECONNRESET, "connection reset by peer") \
94 XX(EDESTADDRREQ, "destination address required") \
95 XX(EEXIST, "file already exists") \
96 XX(EFAULT, "bad address in system call argument") \
97 XX(EFBIG, "file too large") \
98 XX(EHOSTUNREACH, "host is unreachable") \
99 XX(EINTR, "interrupted system call") \
100 XX(EINVAL, "invalid argument") \
101 XX(EIO, "i/o error") \
102 XX(EISCONN, "socket is already connected") \
103 XX(EISDIR, "illegal operation on a directory") \
104 XX(ELOOP, "too many symbolic links encountered") \
105 XX(EMFILE, "too many open files") \
106 XX(EMSGSIZE, "message too long") \
107 XX(ENAMETOOLONG, "name too long") \
108 XX(ENETDOWN, "network is down") \
109 XX(ENETUNREACH, "network is unreachable") \
110 XX(ENFILE, "file table overflow") \
111 XX(ENOBUFS, "no buffer space available") \
112 XX(ENODEV, "no such device") \
113 XX(ENOENT, "no such file or directory") \
114 XX(ENOMEM, "not enough memory") \
115 XX(ENONET, "machine is not on the network") \
116 XX(ENOPROTOOPT, "protocol not available") \
117 XX(ENOSPC, "no space left on device") \
118 XX(ENOSYS, "function not implemented") \
119 XX(ENOTCONN, "socket is not connected") \
120 XX(ENOTDIR, "not a directory") \
121 XX(ENOTEMPTY, "directory not empty") \
122 XX(ENOTSOCK, "socket operation on non-socket") \
123 XX(ENOTSUP, "operation not supported on socket") \
124 XX(EOVERFLOW, "value too large for defined data type") \
125 XX(EPERM, "operation not permitted") \
126 XX(EPIPE, "broken pipe") \
127 XX(EPROTO, "protocol error") \
128 XX(EPROTONOSUPPORT, "protocol not supported") \
129 XX(EPROTOTYPE, "protocol wrong type for socket") \
130 XX(ERANGE, "result too large") \
131 XX(EROFS, "read-only file system") \
132 XX(ESHUTDOWN, "cannot send after transport endpoint shutdown") \
133 XX(ESPIPE, "invalid seek") \
134 XX(ESRCH, "no such process") \
135 XX(ETIMEDOUT, "connection timed out") \
136 XX(ETXTBSY, "text file is busy") \
137 XX(EXDEV, "cross-device link not permitted") \
138 XX(UNKNOWN, "unknown error") \
139 XX(EOF, "end of file") \
140 XX(ENXIO, "no such device or address") \
141 XX(EMLINK, "too many links") \
142 XX(EHOSTDOWN, "host is down") \
143 XX(EREMOTEIO, "remote I/O error") \
144 XX(ENOTTY, "inappropriate ioctl for device") \
145 XX(EFTYPE, "inappropriate file type or format") \
146 XX(EILSEQ, "illegal byte sequence") \
147 XX(ESOCKTNOSUPPORT, "socket type not supported") \
149#define UV_HANDLE_TYPE_MAP(XX) \
152 XX(FS_EVENT, fs_event) \
153 XX(FS_POLL, fs_poll) \
156 XX(NAMED_PIPE, pipe) \
158 XX(PREPARE, prepare) \
159 XX(PROCESS, process) \
167#define UV_REQ_TYPE_MAP(XX) \
169 XX(CONNECT, connect) \
171 XX(SHUTDOWN, shutdown) \
172 XX(UDP_SEND, udp_send) \
175 XX(GETADDRINFO, getaddrinfo) \
176 XX(GETNAMEINFO, getnameinfo) \
180#define XX(code, _) UV_ ## code = UV__ ## code,
188#define XX(uc, lc) UV_##uc,
197#define XX(uc, lc) UV_##uc,
261typedef void* (*uv_malloc_func)(
size_t size);
262typedef void* (*uv_realloc_func)(
void*
ptr,
size_t size);
263typedef void* (*uv_calloc_func)(
size_t count,
size_t size);
307 size_t suggested_size,
330 struct addrinfo* res);
333 const char* hostname,
334 const char* service);
367 const char* filename,
394#define UV_REQ_FIELDS \
401 UV_REQ_PRIVATE_FIELDS \
425#define UV_HANDLE_FIELDS \
430 uv_handle_type type; \
432 uv_close_cb close_cb; \
433 void* handle_queue[2]; \
438 UV_HANDLE_PRIVATE_FIELDS \
482#define UV_STREAM_FIELDS \
484 size_t write_queue_size; \
485 uv_alloc_cb alloc_cb; \
486 uv_read_cb read_cb; \
488 UV_STREAM_PRIVATE_FIELDS
575 const struct sockaddr* addr,
578 struct sockaddr* name,
581 struct sockaddr* name,
586 const struct sockaddr* addr,
648 const struct sockaddr* addr,
679 const struct sockaddr* addr,
684 struct sockaddr* name,
687 struct sockaddr* name,
690 const char* multicast_addr,
691 const char* interface_addr,
694 const char* multicast_addr,
695 const char* interface_addr,
696 const char* source_addr,
701 const char* interface_addr);
708 const struct sockaddr* addr,
713 const struct sockaddr* addr);
904 const struct addrinfo* hints);
924 const struct sockaddr* addr,
1212#if defined(__PASE__)
1214# define UV_PRIORITY_LOW 39
1215# define UV_PRIORITY_BELOW_NORMAL 15
1216# define UV_PRIORITY_NORMAL 0
1217# define UV_PRIORITY_ABOVE_NORMAL -4
1218# define UV_PRIORITY_HIGH -7
1219# define UV_PRIORITY_HIGHEST -10
1221# define UV_PRIORITY_LOW 19
1222# define UV_PRIORITY_BELOW_NORMAL 10
1223# define UV_PRIORITY_NORMAL 0
1224# define UV_PRIORITY_ABOVE_NORMAL -7
1225# define UV_PRIORITY_HIGH -14
1226# define UV_PRIORITY_HIGHEST -20
1252#ifdef MAXHOSTNAMELEN
1253# define UV_MAXHOSTNAMESIZE (MAXHOSTNAMELEN + 1)
1260# define UV_MAXHOSTNAMESIZE 256
1370#define UV_FS_COPYFILE_EXCL 0x0001
1376#define UV_FS_COPYFILE_FICLONE 0x0002
1382#define UV_FS_COPYFILE_FICLONE_FORCE 0x0004
1387 const char* new_path,
1437 const char* new_path,
1494 const char* new_path,
1501#define UV_FS_SYMLINK_DIR 0x0001
1507#define UV_FS_SYMLINK_JUNCTION 0x0002
1512 const char* new_path,
1579 unsigned int interval);
1640 unsigned int flags);
1676#if defined(IF_NAMESIZE)
1677# define UV_IF_NAMESIZE (IF_NAMESIZE + 1)
1678#elif defined(IFNAMSIZ)
1679# define UV_IF_NAMESIZE (IFNAMSIZ + 1)
1681# define UV_IF_NAMESIZE (16 + 1)
1782#define XX(_, name) uv_ ## name ## _t name;
1814#undef UV_HANDLE_TYPE_PRIVATE
1815#undef UV_REQ_TYPE_PRIVATE
1816#undef UV_REQ_PRIVATE_FIELDS
1817#undef UV_STREAM_PRIVATE_FIELDS
1818#undef UV_TCP_PRIVATE_FIELDS
1819#undef UV_PREPARE_PRIVATE_FIELDS
1820#undef UV_CHECK_PRIVATE_FIELDS
1821#undef UV_IDLE_PRIVATE_FIELDS
1822#undef UV_ASYNC_PRIVATE_FIELDS
1823#undef UV_TIMER_PRIVATE_FIELDS
1824#undef UV_GETADDRINFO_PRIVATE_FIELDS
1825#undef UV_GETNAMEINFO_PRIVATE_FIELDS
1826#undef UV_FS_REQ_PRIVATE_FIELDS
1827#undef UV_WORK_PRIVATE_FIELDS
1828#undef UV_FS_EVENT_PRIVATE_FIELDS
1829#undef UV_SIGNAL_PRIVATE_FIELDS
1830#undef UV_LOOP_PRIVATE_FIELDS
1831#undef UV_LOOP_PRIVATE_PLATFORM_FIELDS
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const ArgReturnType arg() const
Definition: ArrayCwiseUnaryOps.h:66
then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file
Definition: ThirdPartyNotices.txt:195
and restrictions which apply to each piece of software is included later in this file and or inside of the individual applicable source files The disclaimer of warranty in the WPILib license above applies to all code in and nothing in any of the other licenses gives permission to use the names of FIRST nor the names of the WPILib contributors to endorse or promote products derived from this software The following pieces of software have additional or alternate and or Google Inc All rights reserved Redistribution and use in source and binary with or without are permitted provided that the following conditions are this list of conditions and the following disclaimer *Redistributions in binary form must reproduce the above copyright this list of conditions and the following disclaimer in the documentation and or other materials provided with the distribution *Neither the name of Google Inc nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS AND ANY EXPRESS OR IMPLIED BUT NOT LIMITED THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY OR CONSEQUENTIAL WHETHER IN STRICT OR EVEN IF ADVISED OF THE POSSIBILITY OF SUCH January AND DISTRIBUTION Definitions License shall mean the terms and conditions for and distribution as defined by Sections through of this document Licensor shall mean the copyright owner or entity authorized by the copyright owner that is granting the License Legal Entity shall mean the union of the acting entity and all other entities that control are controlled by or are under common control with that entity For the purposes of this definition control direct or to cause the direction or management of such whether by contract or including but not limited to software source documentation and configuration files Object form shall mean any form resulting from mechanical transformation or translation of a Source including but not limited to compiled object generated and conversions to other media types Work shall mean the work of whether in Source or Object made available under the as indicated by a copyright notice that is included in or attached to the whether in Source or Object that is based on(or derived from) the Work and for which the editorial revisions
\rst A contiguous memory buffer with an optional growing ability.
Definition: core.h:862
constexpr auto count() -> size_t
Definition: core.h:1204
type
Definition: core.h:575
EIGEN_CONSTEXPR Index size(const T &x)
Definition: Meta.h:479
::uint64_t uint64_t
Definition: Meta.h:58
::int32_t int32_t
Definition: Meta.h:57
::int64_t int64_t
Definition: Meta.h:59
GHC_FS_API file_status status(const path &p, std::error_code &ec) noexcept
Definition: filesystem.hpp:4892
::std::mutex mutex
Definition: mutex.h:17
flags
Definition: http_parser.h:206
Definition: format.h:1544
Definition: threadpool.h:30
struct uv_loop_s * loop
Definition: threadpool.h:33
It should be possible to cast uv_buf_t[] to WSABUF[] see http://msdn.microsoft.com/en-us/library/ms74...
Definition: win.h:234
uv_stream_t * handle
Definition: uv.h:593
UV_REQ_FIELDS uv_connect_cb cb
Definition: uv.h:592
struct uv_cpu_times_s cpu_times
Definition: uv.h:1104
char * model
Definition: uv.h:1102
int speed
Definition: uv.h:1103
uint64_t nice
Definition: uv.h:1095
uint64_t sys
Definition: uv.h:1096
uint64_t idle
Definition: uv.h:1097
uint64_t user
Definition: uv.h:1094
uint64_t irq
Definition: uv.h:1098
uv_dirent_t * dirents
Definition: uv.h:1311
void * reserved[4]
Definition: uv.h:1313
size_t nentries
Definition: uv.h:1312
uv_dirent_type_t type
Definition: uv.h:1163
const char * name
Definition: uv.h:1162
char * value
Definition: uv.h:1243
char * name
Definition: uv.h:1242
UV_HANDLE_FIELDS char * path
Definition: uv.h:1561
UV_HANDLE_FIELDS void * poll_ctx
Definition: uv.h:1572
uv_stat_t statbuf
Definition: uv.h:1326
const char * path
Definition: uv.h:1325
void * ptr
Definition: uv.h:1324
ssize_t result
Definition: uv.h:1323
UV_REQ_FIELDS uv_fs_type fs_type
Definition: uv.h:1320
uv_loop_t * loop
Definition: uv.h:1321
uv_fs_cb cb
Definition: uv.h:1322
UV_REQ_FIELDS uv_loop_t * loop
Definition: uv.h:893
UV_REQ_FIELDS uv_loop_t * loop
Definition: uv.h:916
int is_internal
Definition: uv.h:1110
struct sockaddr_in6 netmask6
Definition: uv.h:1117
struct sockaddr_in6 address6
Definition: uv.h:1113
struct sockaddr_in netmask4
Definition: uv.h:1116
struct sockaddr_in address4
Definition: uv.h:1112
char * name
Definition: uv.h:1108
union uv_interface_address_s::@764 netmask
union uv_interface_address_s::@763 address
char phys_addr[6]
Definition: uv.h:1109
unsigned int stop_flag
Definition: uv.h:1806
void * internal_fields
Definition: uv.h:1804
void * data
Definition: uv.h:1795
void * handle_queue[2]
Definition: uv.h:1798
unsigned int count
Definition: uv.h:1801
union uv_loop_s::@765 active_reqs
unsigned int active_handles
Definition: uv.h:1797
void * unused
Definition: uv.h:1800
char * username
Definition: uv.h:1122
char * homedir
Definition: uv.h:1126
unsigned long uid
Definition: uv.h:1123
unsigned long gid
Definition: uv.h:1124
char * shell
Definition: uv.h:1125
UV_HANDLE_FIELDS UV_STREAM_FIELDS int ipc
Definition: uv.h:778
UV_HANDLE_FIELDS uv_poll_cb poll_cb
Definition: uv.h:803
uv_uid_t uid
Definition: uv.h:1003
const char * file
Definition: uv.h:964
char ** env
Definition: uv.h:976
uv_stdio_container_t * stdio
Definition: uv.h:997
unsigned int flags
Definition: uv.h:986
char ** args
Definition: uv.h:971
int stdio_count
Definition: uv.h:996
uv_exit_cb exit_cb
Definition: uv.h:963
uv_gid_t gid
Definition: uv.h:1004
const char * cwd
Definition: uv.h:981
int pid
Definition: uv.h:1062
UV_HANDLE_FIELDS uv_exit_cb exit_cb
Definition: uv.h:1061
void * buf
Definition: uv.h:1663
struct uv__work work_req
Definition: uv.h:1666
size_t buflen
Definition: uv.h:1664
UV_REQ_FIELDS uv_loop_t * loop
Definition: uv.h:1660
int status
Definition: uv.h:1662
uv_random_cb cb
Definition: uv.h:1665
uint64_t ru_msgrcv
Definition: uv.h:1197
uv_timeval_t ru_utime
Definition: uv.h:1185
uint64_t ru_nsignals
Definition: uv.h:1198
uint64_t ru_ixrss
Definition: uv.h:1188
uint64_t ru_idrss
Definition: uv.h:1189
uv_timeval_t ru_stime
Definition: uv.h:1186
uint64_t ru_isrss
Definition: uv.h:1190
uint64_t ru_minflt
Definition: uv.h:1191
uint64_t ru_majflt
Definition: uv.h:1192
uint64_t ru_nivcsw
Definition: uv.h:1200
uint64_t ru_oublock
Definition: uv.h:1195
uint64_t ru_nswap
Definition: uv.h:1193
uint64_t ru_maxrss
Definition: uv.h:1187
uint64_t ru_inblock
Definition: uv.h:1194
uint64_t ru_msgsnd
Definition: uv.h:1196
uint64_t ru_nvcsw
Definition: uv.h:1199
UV_REQ_FIELDS uv_stream_t * handle
Definition: uv.h:419
uv_shutdown_cb cb
Definition: uv.h:420
int signum
Definition: uv.h:1589
UV_HANDLE_FIELDS uv_signal_cb signal_cb
Definition: uv.h:1588
uint64_t st_nlink
Definition: uv.h:349
uint64_t st_ino
Definition: uv.h:353
uint64_t st_flags
Definition: uv.h:357
uint64_t st_mode
Definition: uv.h:348
uv_timespec_t st_birthtim
Definition: uv.h:362
uint64_t st_size
Definition: uv.h:354
uv_timespec_t st_ctim
Definition: uv.h:361
uint64_t st_blocks
Definition: uv.h:356
uv_timespec_t st_mtim
Definition: uv.h:360
uv_timespec_t st_atim
Definition: uv.h:359
uint64_t st_gid
Definition: uv.h:351
uint64_t st_gen
Definition: uv.h:358
uint64_t st_dev
Definition: uv.h:347
uint64_t st_uid
Definition: uv.h:350
uint64_t st_rdev
Definition: uv.h:352
uint64_t st_blksize
Definition: uv.h:355
uint64_t f_files
Definition: uv.h:1145
uint64_t f_type
Definition: uv.h:1140
uint64_t f_bsize
Definition: uv.h:1141
uint64_t f_bfree
Definition: uv.h:1143
uint64_t f_ffree
Definition: uv.h:1146
uint64_t f_bavail
Definition: uv.h:1144
uint64_t f_spare[4]
Definition: uv.h:1147
uint64_t f_blocks
Definition: uv.h:1142
uv_stream_t * stream
Definition: uv.h:957
union uv_stdio_container_s::@762 data
int fd
Definition: uv.h:958
uv_stdio_flags flags
Definition: uv.h:954
unsigned int flags
Definition: uv.h:1766
size_t stack_size
Definition: uv.h:1767
long tv_sec
Definition: uv.h:341
long tv_nsec
Definition: uv.h:342
int64_t tv_sec
Definition: uv.h:1180
int32_t tv_usec
Definition: uv.h:1181
long tv_usec
Definition: uv.h:1176
long tv_sec
Definition: uv.h:1175
size_t send_queue_count
Definition: uv.h:663
UV_HANDLE_FIELDS size_t send_queue_size
Definition: uv.h:659
UV_REQ_FIELDS uv_udp_t * handle
Definition: uv.h:670
uv_udp_send_cb cb
Definition: uv.h:671
char version[256]
Definition: uv.h:1132
char machine[256]
Definition: uv.h:1133
char release[256]
Definition: uv.h:1131
char sysname[256]
Definition: uv.h:1130
uv_after_work_cb after_work_cb
Definition: uv.h:1081
uv_work_cb work_cb
Definition: uv.h:1080
UV_REQ_FIELDS uv_loop_t * loop
Definition: uv.h:1079
uv_stream_t * send_handle
Definition: uv.h:535
uv_stream_t * handle
Definition: uv.h:536
UV_REQ_FIELDS uv_write_cb cb
Definition: uv.h:534
UV_EXTERN void uv_print_active_handles(uv_loop_t *loop, FILE *stream)
UV_EXTERN int uv_set_process_title(const char *title)
void(* uv_random_cb)(uv_random_t *req, int status, void *buf, size_t buflen)
Definition: uv.h:335
uv_thread_create_flags
Definition: uv.h:1760
@ UV_THREAD_HAS_STACK_SIZE
Definition: uv.h:1762
@ UV_THREAD_NO_FLAGS
Definition: uv.h:1761
UV_EXTERN void uv_key_delete(uv_key_t *key)
UV_EXTERN void uv_stop(uv_loop_t *)
UV_EXTERN uv_loop_t * uv_handle_get_loop(const uv_handle_t *handle)
UV_EXTERN int uv_exepath(char *buffer, size_t *size)
UV_EXTERN int uv_poll_init(uv_loop_t *loop, uv_poll_t *handle, int fd)
UV_EXTERN int uv_fs_fstat(uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_fs_cb cb)
UV_EXTERN void uv_mutex_lock(uv_mutex_t *handle)
UV_EXTERN int uv_gettimeofday(uv_timeval64_t *tv)
UV_EXTERN int uv_fs_open(uv_loop_t *loop, uv_fs_t *req, const char *path, int flags, int mode, uv_fs_cb cb)
UV_EXTERN int uv_cpu_info(uv_cpu_info_t **cpu_infos, int *count)
UV_EXTERN int uv_tcp_init_ex(uv_loop_t *, uv_tcp_t *handle, unsigned int flags)
uv_stdio_flags
Definition: uv.h:929
@ UV_INHERIT_FD
Definition: uv.h:932
@ UV_CREATE_PIPE
Definition: uv.h:931
@ UV_WRITABLE_PIPE
Definition: uv.h:941
@ UV_IGNORE
Definition: uv.h:930
@ UV_OVERLAPPED_PIPE
Definition: uv.h:950
@ UV_INHERIT_STREAM
Definition: uv.h:933
@ UV_READABLE_PIPE
Definition: uv.h:940
@ UV_NONBLOCK_PIPE
Definition: uv.h:949
UV_EXTERN void uv_free_interface_addresses(uv_interface_address_t *addresses, int count)
UV_EXTERN int uv_ip4_addr(const char *ip, int port, struct sockaddr_in *addr)
#define UV_HANDLE_FIELDS
Definition: uv.h:425
UV_EXTERN int uv_udp_bind(uv_udp_t *handle, const struct sockaddr *addr, unsigned int flags)
UV_EXTERN int uv_is_active(const uv_handle_t *handle)
UV_EXTERN uv_pid_t uv_process_get_pid(const uv_process_t *)
UV_EXTERN int uv_udp_recv_start(uv_udp_t *handle, uv_alloc_cb alloc_cb, uv_udp_recv_cb recv_cb)
UV_EXTERN int uv_getrusage(uv_rusage_t *rusage)
uv_run_mode
Definition: uv.h:251
@ UV_RUN_NOWAIT
Definition: uv.h:254
@ UV_RUN_ONCE
Definition: uv.h:253
@ UV_RUN_DEFAULT
Definition: uv.h:252
void(* uv_write_cb)(uv_write_t *req, int status)
Definition: uv.h:312
uv_process_flags
Definition: uv.h:1010
@ UV_PROCESS_WINDOWS_HIDE_CONSOLE
Definition: uv.h:1047
@ UV_PROCESS_WINDOWS_VERBATIM_ARGUMENTS
Definition: uv.h:1028
@ UV_PROCESS_WINDOWS_HIDE
Definition: uv.h:1041
@ UV_PROCESS_SETUID
Definition: uv.h:1016
@ UV_PROCESS_SETGID
Definition: uv.h:1022
@ UV_PROCESS_DETACHED
Definition: uv.h:1036
@ UV_PROCESS_WINDOWS_HIDE_GUI
Definition: uv.h:1053
void(* uv_connection_cb)(uv_stream_t *server, int status)
Definition: uv.h:315
UV_EXTERN int uv_barrier_init(uv_barrier_t *barrier, unsigned int count)
UV_EXTERN void uv_walk(uv_loop_t *loop, uv_walk_cb walk_cb, void *arg)
UV_EXTERN int uv_translate_sys_error(int sys_errno)
UV_EXTERN void uv_print_all_handles(uv_loop_t *loop, FILE *stream)
UV_EXTERN void * uv_req_get_data(const uv_req_t *req)
UV_EXTERN int uv_check_start(uv_check_t *check, uv_check_cb cb)
UV_EXTERN int uv_interface_addresses(uv_interface_address_t **addresses, int *count)
UV_EXTERN int uv_tcp_keepalive(uv_tcp_t *handle, int enable, unsigned int delay)
UV_EXTERN int uv_rwlock_init(uv_rwlock_t *rwlock)
UV_EXTERN int uv_prepare_init(uv_loop_t *, uv_prepare_t *prepare)
UV_EXTERN int uv_recv_buffer_size(uv_handle_t *handle, int *value)
UV_EXTERN int uv_fs_ftruncate(uv_loop_t *loop, uv_fs_t *req, uv_file file, int64_t offset, uv_fs_cb cb)
UV_EXTERN int uv_fs_poll_getpath(uv_fs_poll_t *handle, char *buffer, size_t *size)
UV_EXTERN int uv_fs_read(uv_loop_t *loop, uv_fs_t *req, uv_file file, const uv_buf_t bufs[], unsigned int nbufs, int64_t offset, uv_fs_cb cb)
UV_EXTERN int uv_backend_timeout(const uv_loop_t *)
UV_EXTERN int uv_thread_join(uv_thread_t *tid)
UV_EXTERN int uv_timer_start(uv_timer_t *handle, uv_timer_cb cb, uint64_t timeout, uint64_t repeat)
UV_EXTERN int uv_timer_init(uv_loop_t *, uv_timer_t *handle)
void(* uv_getaddrinfo_cb)(uv_getaddrinfo_t *req, int status, struct addrinfo *res)
Definition: uv.h:328
void *(* uv_malloc_func)(size_t size)
Definition: uv.h:261
UV_EXTERN int uv_tcp_open(uv_tcp_t *handle, uv_os_sock_t sock)
UV_EXTERN int uv_process_kill(uv_process_t *, int signum)
UV_EXTERN void uv_rwlock_wrlock(uv_rwlock_t *rwlock)
UV_EXTERN int uv_poll_start(uv_poll_t *handle, int events, uv_poll_cb cb)
UV_EXTERN int uv_kill(int pid, int signum)
UV_EXTERN int uv_ip6_addr(const char *ip, int port, struct sockaddr_in6 *addr)
UV_EXTERN const char * uv_handle_type_name(uv_handle_type type)
UV_EXTERN int uv_fs_fsync(uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_fs_cb cb)
uv_tty_mode_t
Definition: uv.h:734
@ UV_TTY_MODE_IO
Definition: uv.h:740
@ UV_TTY_MODE_NORMAL
Definition: uv.h:736
@ UV_TTY_MODE_RAW
Definition: uv.h:738
void(* uv_fs_event_cb)(uv_fs_event_t *handle, const char *filename, int events, int status)
Definition: uv.h:366
UV_EXTERN int uv_try_write2(uv_stream_t *handle, const uv_buf_t bufs[], unsigned int nbufs, uv_stream_t *send_handle)
UV_EXTERN int uv_signal_start_oneshot(uv_signal_t *handle, uv_signal_cb signal_cb, int signum)
UV_EXTERN int uv_os_setpriority(uv_pid_t pid, int priority)
UV_EXTERN void uv_fs_req_cleanup(uv_fs_t *req)
UV_EXTERN int uv_if_indextoiid(unsigned int ifindex, char *buffer, size_t *size)
UV_EXTERN void uv_once(uv_once_t *guard, void(*callback)(void))
UV_EXTERN int uv_resident_set_memory(size_t *rss)
void(* uv_fs_poll_cb)(uv_fs_poll_t *handle, int status, const uv_stat_t *prev, const uv_stat_t *curr)
Definition: uv.h:371
UV_EXTERN int uv_spawn(uv_loop_t *loop, uv_process_t *handle, const uv_process_options_t *options)
UV_EXTERN int uv_idle_stop(uv_idle_t *idle)
UV_EXTERN int uv_udp_set_ttl(uv_udp_t *handle, int ttl)
uv_handle_type
Definition: uv.h:186
@ UV_FILE
Definition: uv.h:191
@ UV_HANDLE_TYPE_MAX
Definition: uv.h:192
@ UV_UNKNOWN_HANDLE
Definition: uv.h:187
UV_EXTERN uint64_t uv_get_free_memory(void)
UV_EXTERN int uv_if_indextoname(unsigned int ifindex, char *buffer, size_t *size)
void(* uv_free_func)(void *ptr)
Definition: uv.h:264
UV_EXTERN void uv_sleep(unsigned int msec)
UV_EXTERN int uv_tcp_connect(uv_connect_t *req, uv_tcp_t *handle, const struct sockaddr *addr, uv_connect_cb cb)
uv_udp_flags
Definition: uv.h:602
@ UV_UDP_LINUX_RECVERR
Definition: uv.h:637
@ UV_UDP_PARTIAL
Definition: uv.h:609
@ UV_UDP_MMSG_FREE
Definition: uv.h:629
@ UV_UDP_MMSG_CHUNK
Definition: uv.h:623
@ UV_UDP_IPV6ONLY
Definition: uv.h:604
@ UV_UDP_RECVMMSG
Definition: uv.h:641
@ UV_UDP_REUSEADDR
Definition: uv.h:618
UV_EXTERN void uv_sem_destroy(uv_sem_t *sem)
UV_EXTERN int uv_backend_fd(const uv_loop_t *)
UV_EXTERN int uv_udp_set_multicast_interface(uv_udp_t *handle, const char *interface_addr)
UV_EXTERN int uv_os_get_passwd(uv_passwd_t *pwd)
UV_EXTERN int uv_fs_stat(uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
UV_EXTERN int uv_udp_init_ex(uv_loop_t *, uv_udp_t *handle, unsigned int flags)
UV_EXTERN int uv_random(uv_loop_t *loop, uv_random_t *req, void *buf, size_t buflen, unsigned flags, uv_random_cb cb)
UV_EXTERN int uv_write(uv_write_t *req, uv_stream_t *handle, const uv_buf_t bufs[], unsigned int nbufs, uv_write_cb cb)
UV_EXTERN int uv_signal_start(uv_signal_t *handle, uv_signal_cb signal_cb, int signum)
UV_EXTERN void uv_ref(uv_handle_t *)
uv_tcp_flags
Definition: uv.h:569
@ UV_TCP_IPV6ONLY
Definition: uv.h:571
UV_EXTERN uv_buf_t uv_buf_init(char *base, unsigned int len)
UV_EXTERN int uv_check_init(uv_loop_t *, uv_check_t *check)
UV_EXTERN int uv_read_stop(uv_stream_t *)
UV_EXTERN int uv_os_environ(uv_env_item_t **envitems, int *count)
UV_EXTERN size_t uv_handle_size(uv_handle_type type)
UV_EXTERN size_t uv_req_size(uv_req_type type)
UV_EXTERN const char * uv_version_string(void)
UV_EXTERN int uv_mutex_init_recursive(uv_mutex_t *handle)
UV_EXTERN uint64_t uv_hrtime(void)
UV_EXTERN void uv_loop_set_data(uv_loop_t *, void *data)
UV_EXTERN int uv_fs_access(uv_loop_t *loop, uv_fs_t *req, const char *path, int mode, uv_fs_cb cb)
UV_EXTERN int uv_stream_set_blocking(uv_stream_t *handle, int blocking)
UV_EXTERN int uv_dlopen(const char *filename, uv_lib_t *lib)
UV_EXTERN void * uv_key_get(uv_key_t *key)
UV_EXTERN int uv_os_getpriority(uv_pid_t pid, int *priority)
void(* uv_prepare_cb)(uv_prepare_t *handle)
Definition: uv.h:320
UV_EXTERN int uv_read_start(uv_stream_t *, uv_alloc_cb alloc_cb, uv_read_cb read_cb)
void(* uv_after_work_cb)(uv_work_t *req, int status)
Definition: uv.h:327
UV_EXTERN int uv_tcp_close_reset(uv_tcp_t *handle, uv_close_cb close_cb)
UV_EXTERN void uv_sem_post(uv_sem_t *sem)
UV_EXTERN int uv_udp_send(uv_udp_send_t *req, uv_udp_t *handle, const uv_buf_t bufs[], unsigned int nbufs, const struct sockaddr *addr, uv_udp_send_cb send_cb)
UV_EXTERN int uv_ip_name(const struct sockaddr *src, char *dst, size_t size)
UV_EXTERN int uv_ip4_name(const struct sockaddr_in *src, char *dst, size_t size)
UV_EXTERN void * uv_fs_get_ptr(const uv_fs_t *)
UV_EXTERN int uv_is_writable(const uv_stream_t *handle)
UV_EXTERN int uv_listen(uv_stream_t *stream, int backlog, uv_connection_cb cb)
UV_EXTERN int uv_cwd(char *buffer, size_t *size)
UV_EXTERN int uv_udp_set_source_membership(uv_udp_t *handle, const char *multicast_addr, const char *interface_addr, const char *source_addr, uv_membership membership)
UV_EXTERN int uv_udp_recv_stop(uv_udp_t *handle)
UV_EXTERN void uv_os_free_passwd(uv_passwd_t *pwd)
UV_EXTERN int uv_fs_event_start(uv_fs_event_t *handle, uv_fs_event_cb cb, const char *path, unsigned int flags)
UV_EXTERN void uv_freeaddrinfo(struct addrinfo *ai)
uv_fs_type
Definition: uv.h:1269
@ UV_FS_STATFS
Definition: uv.h:1305
@ UV_FS_CUSTOM
Definition: uv.h:1271
@ UV_FS_SYMLINK
Definition: uv.h:1295
@ UV_FS_FDATASYNC
Definition: uv.h:1287
@ UV_FS_FCHMOD
Definition: uv.h:1285
@ UV_FS_SCANDIR
Definition: uv.h:1293
@ UV_FS_FTRUNCATE
Definition: uv.h:1280
@ UV_FS_READDIR
Definition: uv.h:1303
@ UV_FS_SENDFILE
Definition: uv.h:1276
@ UV_FS_OPENDIR
Definition: uv.h:1302
@ UV_FS_RENAME
Definition: uv.h:1292
@ UV_FS_READLINK
Definition: uv.h:1296
@ UV_FS_LUTIME
Definition: uv.h:1307
@ UV_FS_STAT
Definition: uv.h:1277
@ UV_FS_CHOWN
Definition: uv.h:1297
@ UV_FS_FUTIME
Definition: uv.h:1282
@ UV_FS_CHMOD
Definition: uv.h:1284
@ UV_FS_REALPATH
Definition: uv.h:1299
@ UV_FS_UNKNOWN
Definition: uv.h:1270
@ UV_FS_UNLINK
Definition: uv.h:1288
@ UV_FS_MKSTEMP
Definition: uv.h:1306
@ UV_FS_RMDIR
Definition: uv.h:1289
@ UV_FS_CLOSEDIR
Definition: uv.h:1304
@ UV_FS_MKDTEMP
Definition: uv.h:1291
@ UV_FS_CLOSE
Definition: uv.h:1273
@ UV_FS_FSYNC
Definition: uv.h:1286
@ UV_FS_FCHOWN
Definition: uv.h:1298
@ UV_FS_READ
Definition: uv.h:1274
@ UV_FS_COPYFILE
Definition: uv.h:1300
@ UV_FS_MKDIR
Definition: uv.h:1290
@ UV_FS_UTIME
Definition: uv.h:1281
@ UV_FS_ACCESS
Definition: uv.h:1283
@ UV_FS_FSTAT
Definition: uv.h:1279
@ UV_FS_LCHOWN
Definition: uv.h:1301
@ UV_FS_LSTAT
Definition: uv.h:1278
@ UV_FS_OPEN
Definition: uv.h:1272
@ UV_FS_WRITE
Definition: uv.h:1275
@ UV_FS_LINK
Definition: uv.h:1294
UV_EXTERN int uv_fs_lstat(uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
UV_EXTERN int uv_fs_fchown(uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb)
UV_EXTERN int uv_loop_init(uv_loop_t *loop)
UV_EXTERN int uv_prepare_start(uv_prepare_t *prepare, uv_prepare_cb cb)
UV_EXTERN void uv_mutex_destroy(uv_mutex_t *handle)
UV_EXTERN char * uv_strerror_r(int err, char *buf, size_t buflen)
UV_EXTERN void uv_tty_set_vterm_state(uv_tty_vtermstate_t state)
UV_EXTERN unsigned int uv_available_parallelism(void)
UV_EXTERN int uv_pipe_pending_count(uv_pipe_t *handle)
UV_EXTERN int uv_pipe_getsockname(const uv_pipe_t *handle, char *buffer, size_t *size)
void(* uv_thread_cb)(void *arg)
Definition: uv.h:1756
UV_EXTERN int uv_rwlock_tryrdlock(uv_rwlock_t *rwlock)
UV_EXTERN int uv_fs_sendfile(uv_loop_t *loop, uv_fs_t *req, uv_file out_fd, uv_file in_fd, int64_t in_offset, size_t length, uv_fs_cb cb)
UV_EXTERN void uv_free_cpu_info(uv_cpu_info_t *cpu_infos, int count)
UV_EXTERN int uv_getnameinfo(uv_loop_t *loop, uv_getnameinfo_t *req, uv_getnameinfo_cb getnameinfo_cb, const struct sockaddr *addr, int flags)
UV_EXTERN int uv_try_write(uv_stream_t *handle, const uv_buf_t bufs[], unsigned int nbufs)
UV_EXTERN int uv_pipe_init(uv_loop_t *, uv_pipe_t *handle, int ipc)
uv_membership
Definition: uv.h:379
@ UV_JOIN_GROUP
Definition: uv.h:381
@ UV_LEAVE_GROUP
Definition: uv.h:380
UV_EXTERN int uv_tcp_nodelay(uv_tcp_t *handle, int enable)
UV_PRIVATE_REQ_TYPES UV_EXTERN int uv_shutdown(uv_shutdown_t *req, uv_stream_t *handle, uv_shutdown_cb cb)
#define UV_ERRNO_MAP(XX)
Definition: uv.h:65
UV_EXTERN int uv_sem_trywait(uv_sem_t *sem)
UV_EXTERN int uv_run(uv_loop_t *, uv_run_mode mode)
UV_EXTERN int uv_fs_statfs(uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
UV_EXTERN size_t uv_stream_get_write_queue_size(const uv_stream_t *stream)
UV_EXTERN const char * uv_strerror(int err)
UV_EXTERN int uv_fs_poll_init(uv_loop_t *loop, uv_fs_poll_t *handle)
UV_EXTERN void uv_mutex_unlock(uv_mutex_t *handle)
UV_EXTERN void uv_rwlock_wrunlock(uv_rwlock_t *rwlock)
UV_EXTERN int uv_replace_allocator(uv_malloc_func malloc_func, uv_realloc_func realloc_func, uv_calloc_func calloc_func, uv_free_func free_func)
UV_EXTERN void uv_handle_set_data(uv_handle_t *handle, void *data)
UV_EXTERN size_t uv_udp_get_send_queue_count(const uv_udp_t *handle)
UV_EXTERN size_t uv_udp_get_send_queue_size(const uv_udp_t *handle)
void(* uv_poll_cb)(uv_poll_t *handle, int status, int events)
Definition: uv.h:317
UV_EXTERN int uv_signal_stop(uv_signal_t *handle)
UV_EXTERN int uv_os_homedir(char *buffer, size_t *size)
void *(* uv_calloc_func)(size_t count, size_t size)
Definition: uv.h:263
UV_EXTERN int uv_fs_write(uv_loop_t *loop, uv_fs_t *req, uv_file file, const uv_buf_t bufs[], unsigned int nbufs, int64_t offset, uv_fs_cb cb)
#define UV_REQ_FIELDS
Definition: uv.h:394
UV_EXTERN void uv_key_set(uv_key_t *key, void *value)
UV_EXTERN uv_os_fd_t uv_get_osfhandle(int fd)
UV_EXTERN int uv_dlsym(uv_lib_t *lib, const char *name, void **ptr)
uv_tty_vtermstate_t
Definition: uv.h:743
@ UV_TTY_UNSUPPORTED
Definition: uv.h:752
@ UV_TTY_SUPPORTED
Definition: uv.h:748
UV_EXTERN int uv_barrier_wait(uv_barrier_t *barrier)
UV_EXTERN int uv_socketpair(int type, int protocol, uv_os_sock_t socket_vector[2], int flags0, int flags1)
UV_EXTERN int uv_tty_set_mode(uv_tty_t *, uv_tty_mode_t mode)
UV_EXTERN const char * uv_req_type_name(uv_req_type type)
UV_EXTERN int uv_write2(uv_write_t *req, uv_stream_t *handle, const uv_buf_t bufs[], unsigned int nbufs, uv_stream_t *send_handle, uv_write_cb cb)
void(* uv_getnameinfo_cb)(uv_getnameinfo_t *req, int status, const char *hostname, const char *service)
Definition: uv.h:331
UV_EXTERN int uv_fs_event_stop(uv_fs_event_t *handle)
UV_EXTERN int uv_fs_chmod(uv_loop_t *loop, uv_fs_t *req, const char *path, int mode, uv_fs_cb cb)
uv_fs_event_flags
Definition: uv.h:1608
@ UV_FS_EVENT_RECURSIVE
Definition: uv.h:1632
@ UV_FS_EVENT_STAT
Definition: uv.h:1625
@ UV_FS_EVENT_WATCH_ENTRY
Definition: uv.h:1616
UV_EXTERN int uv_fs_fdatasync(uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_fs_cb cb)
UV_EXTERN int uv_udp_set_multicast_ttl(uv_udp_t *handle, int ttl)
UV_EXTERN char ** uv_setup_args(int argc, char **argv)
UV_EXTERN void uv_barrier_destroy(uv_barrier_t *barrier)
UV_EXTERN int uv_os_getenv(const char *name, char *buffer, size_t *size)
UV_EXTERN int uv_timer_stop(uv_timer_t *handle)
UV_EXTERN uint64_t uv_get_constrained_memory(void)
UV_EXTERN void uv_req_set_data(uv_req_t *req, void *data)
UV_EXTERN int uv_os_gethostname(char *buffer, size_t *size)
UV_EXTERN int uv_fs_readlink(uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
UV_EXTERN int uv_udp_open(uv_udp_t *handle, uv_os_sock_t sock)
UV_EXTERN uv_fs_type uv_fs_get_type(const uv_fs_t *)
uv_fs_event
Definition: uv.h:1552
@ UV_CHANGE
Definition: uv.h:1554
@ UV_RENAME
Definition: uv.h:1553
UV_EXTERN int uv_thread_equal(const uv_thread_t *t1, const uv_thread_t *t2)
UV_EXTERN int uv_fs_futime(uv_loop_t *loop, uv_fs_t *req, uv_file file, double atime, double mtime, uv_fs_cb cb)
UV_EXTERN uv_handle_type uv_pipe_pending_type(uv_pipe_t *handle)
UV_EXTERN uint64_t uv_now(const uv_loop_t *)
UV_EXTERN uv_req_type uv_req_get_type(const uv_req_t *req)
UV_EXTERN void uv_pipe_pending_instances(uv_pipe_t *handle, int count)
UV_EXTERN int uv_pipe_bind(uv_pipe_t *handle, const char *name)
UV_EXTERN int uv_fs_utime(uv_loop_t *loop, uv_fs_t *req, const char *path, double atime, double mtime, uv_fs_cb cb)
struct uv_process_options_s uv_process_options_t
UV_EXTERN uv_loop_t * uv_loop_new(void)
UV_EXTERN int uv_fs_mkstemp(uv_loop_t *loop, uv_fs_t *req, const char *tpl, uv_fs_cb cb)
UV_EXTERN int uv_os_uname(uv_utsname_t *buffer)
UV_EXTERN int uv_fs_get_system_error(const uv_fs_t *)
UV_EXTERN int uv_loop_fork(uv_loop_t *loop)
UV_EXTERN int uv_tcp_bind(uv_tcp_t *handle, const struct sockaddr *addr, unsigned int flags)
UV_EXTERN int uv_udp_try_send(uv_udp_t *handle, const uv_buf_t bufs[], unsigned int nbufs, const struct sockaddr *addr)
UV_EXTERN int uv_inet_ntop(int af, const void *src, char *dst, size_t size)
#define XX(code, _)
Definition: uv.h:1782
UV_EXTERN void uv_unref(uv_handle_t *)
UV_EXTERN int uv_udp_set_membership(uv_udp_t *handle, const char *multicast_addr, const char *interface_addr, uv_membership membership)
UV_EXTERN int uv_tty_reset_mode(void)
void(* uv_check_cb)(uv_check_t *handle)
Definition: uv.h:321
UV_EXTERN char * uv_err_name_r(int err, char *buf, size_t buflen)
UV_EXTERN int uv_queue_work(uv_loop_t *loop, uv_work_t *req, uv_work_cb work_cb, uv_after_work_cb after_work_cb)
void(* uv_udp_recv_cb)(uv_udp_t *handle, ssize_t nread, const uv_buf_t *buf, const struct sockaddr *addr, unsigned flags)
Definition: uv.h:645
UV_EXTERN void uv_rwlock_rdlock(uv_rwlock_t *rwlock)
UV_EXTERN int uv_fs_event_init(uv_loop_t *loop, uv_fs_event_t *handle)
UV_EXTERN int uv_fs_scandir(uv_loop_t *loop, uv_fs_t *req, const char *path, int flags, uv_fs_cb cb)
void(* uv_timer_cb)(uv_timer_t *handle)
Definition: uv.h:318
UV_EXTERN int uv_is_closing(const uv_handle_t *handle)
UV_EXTERN int uv_check_stop(uv_check_t *check)
UV_EXTERN int uv_udp_init(uv_loop_t *, uv_udp_t *handle)
void(* uv_read_cb)(uv_stream_t *stream, ssize_t nread, const uv_buf_t *buf)
Definition: uv.h:309
void(* uv_udp_send_cb)(uv_udp_send_t *req, int status)
Definition: uv.h:644
UV_EXTERN int uv_fs_fchmod(uv_loop_t *loop, uv_fs_t *req, uv_file file, int mode, uv_fs_cb cb)
void(* uv_alloc_cb)(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf)
Definition: uv.h:306
UV_EXTERN int uv_fs_chown(uv_loop_t *loop, uv_fs_t *req, const char *path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb)
UV_EXTERN int uv_fs_lchown(uv_loop_t *loop, uv_fs_t *req, const char *path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb)
UV_EXTERN int uv_thread_create_ex(uv_thread_t *tid, const uv_thread_options_t *params, uv_thread_cb entry, void *arg)
UV_EXTERN void uv_close(uv_handle_t *handle, uv_close_cb close_cb)
UV_EXTERN uv_handle_type uv_guess_handle(uv_file file)
UV_EXTERN int uv_fs_mkdtemp(uv_loop_t *loop, uv_fs_t *req, const char *tpl, uv_fs_cb cb)
UV_EXTERN int uv_thread_create(uv_thread_t *tid, uv_thread_cb entry, void *arg)
UV_EXTERN const char * uv_err_name(int err)
UV_EXTERN uint64_t uv_get_total_memory(void)
UV_EXTERN int uv_udp_connect(uv_udp_t *handle, const struct sockaddr *addr)
void *(* uv_realloc_func)(void *ptr, size_t size)
Definition: uv.h:262
UV_EXTERN ssize_t uv_fs_get_result(const uv_fs_t *)
UV_EXTERN int uv_key_create(uv_key_t *key)
UV_EXTERN int uv_udp_using_recvmmsg(const uv_udp_t *handle)
UV_EXTERN int uv_open_osfhandle(uv_os_fd_t os_fd)
#define UV_EXTERN
Definition: uv.h:48
UV_EXTERN int uv_pipe(uv_file fds[2], int read_flags, int write_flags)
UV_EXTERN int uv_accept(uv_stream_t *server, uv_stream_t *client)
UV_EXTERN int uv_fs_scandir_next(uv_fs_t *req, uv_dirent_t *ent)
#define UV_REQ_TYPE_MAP(XX)
Definition: uv.h:167
void(* uv_signal_cb)(uv_signal_t *handle, int signum)
Definition: uv.h:376
UV_EXTERN void * uv_loop_get_data(const uv_loop_t *)
UV_EXTERN int uv_send_buffer_size(uv_handle_t *handle, int *value)
UV_EXTERN int uv_fs_unlink(uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
UV_EXTERN int uv_pipe_getpeername(const uv_pipe_t *handle, char *buffer, size_t *size)
uv_dirent_type_t
Definition: uv.h:1150
@ UV_DIRENT_FIFO
Definition: uv.h:1155
@ UV_DIRENT_CHAR
Definition: uv.h:1157
@ UV_DIRENT_DIR
Definition: uv.h:1153
@ UV_DIRENT_UNKNOWN
Definition: uv.h:1151
@ UV_DIRENT_BLOCK
Definition: uv.h:1158
@ UV_DIRENT_LINK
Definition: uv.h:1154
@ UV_DIRENT_FILE
Definition: uv.h:1152
@ UV_DIRENT_SOCKET
Definition: uv.h:1156
UV_EXTERN int uv_tty_get_winsize(uv_tty_t *, int *width, int *height)
UV_EXTERN int uv_udp_set_multicast_loop(uv_udp_t *handle, int on)
UV_EXTERN int uv_has_ref(const uv_handle_t *)
UV_EXTERN uint64_t uv_timer_get_repeat(const uv_timer_t *handle)
UV_EXTERN int uv_cond_timedwait(uv_cond_t *cond, uv_mutex_t *mutex, uint64_t timeout)
UV_EXTERN size_t uv_loop_size(void)
void(* uv_connect_cb)(uv_connect_t *req, int status)
Definition: uv.h:313
UV_EXTERN int uv_uptime(double *uptime)
uv_errno_t
Definition: uv.h:179
@ UV_ERRNO_MAX
Definition: uv.h:183
void(* uv_idle_cb)(uv_idle_t *handle)
Definition: uv.h:322
void(* uv_exit_cb)(uv_process_t *, int64_t exit_status, int term_signal)
Definition: uv.h:323
UV_EXTERN int uv_os_tmpdir(char *buffer, size_t *size)
UV_EXTERN int uv_fs_close(uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_fs_cb cb)
UV_EXTERN void uv_rwlock_destroy(uv_rwlock_t *rwlock)
UV_EXTERN int uv_fs_poll_start(uv_fs_poll_t *handle, uv_fs_poll_cb poll_cb, const char *path, unsigned int interval)
UV_EXTERN int uv_tcp_init(uv_loop_t *, uv_tcp_t *handle)
UV_EXTERN int uv_tcp_simultaneous_accepts(uv_tcp_t *handle, int enable)
UV_EXTERN int uv_poll_init_socket(uv_loop_t *loop, uv_poll_t *handle, uv_os_sock_t socket)
UV_EXTERN int uv_tty_init(uv_loop_t *, uv_tty_t *, uv_file fd, int readable)
UV_EXTERN int uv_rwlock_trywrlock(uv_rwlock_t *rwlock)
UV_EXTERN void uv_library_shutdown(void)
UV_EXTERN int uv_os_setenv(const char *name, const char *value)
UV_EXTERN uv_loop_t * uv_default_loop(void)
UV_EXTERN int uv_is_readable(const uv_stream_t *handle)
UV_EXTERN int uv_loop_alive(const uv_loop_t *loop)
UV_EXTERN void uv_loadavg(double avg[3])
UV_EXTERN int uv_fs_symlink(uv_loop_t *loop, uv_fs_t *req, const char *path, const char *new_path, int flags, uv_fs_cb cb)
UV_EXTERN uint64_t uv_metrics_idle_time(uv_loop_t *loop)
UV_EXTERN int uv_getaddrinfo(uv_loop_t *loop, uv_getaddrinfo_t *req, uv_getaddrinfo_cb getaddrinfo_cb, const char *node, const char *service, const struct addrinfo *hints)
void(* uv_async_cb)(uv_async_t *handle)
Definition: uv.h:319
UV_EXTERN int uv_async_init(uv_loop_t *, uv_async_t *async, uv_async_cb async_cb)
UV_EXTERN uv_stat_t * uv_fs_get_statbuf(uv_fs_t *)
UV_EXTERN int uv_udp_getsockname(const uv_udp_t *handle, struct sockaddr *name, int *namelen)
UV_EXTERN int uv_mutex_trylock(uv_mutex_t *handle)
UV_EXTERN void uv_os_free_environ(uv_env_item_t *envitems, int count)
UV_EXTERN int uv_cancel(uv_req_t *req)
void(* uv_walk_cb)(uv_handle_t *handle, void *arg)
Definition: uv.h:324
UV_EXTERN void uv_cond_wait(uv_cond_t *cond, uv_mutex_t *mutex)
UV_EXTERN void uv_cond_signal(uv_cond_t *cond)
UV_EXTERN int uv_fs_mkdir(uv_loop_t *loop, uv_fs_t *req, const char *path, int mode, uv_fs_cb cb)
struct uv_stdio_container_s uv_stdio_container_t
UV_EXTERN int uv_os_unsetenv(const char *name)
UV_EXTERN int uv_async_send(uv_async_t *async)
UV_EXTERN int uv_fs_readdir(uv_loop_t *loop, uv_fs_t *req, uv_dir_t *dir, uv_fs_cb cb)
uv_req_type
Definition: uv.h:195
@ UV_REQ_TYPE_MAX
Definition: uv.h:201
@ UV_UNKNOWN_REQ
Definition: uv.h:196
UV_EXTERN int uv_loop_configure(uv_loop_t *loop, uv_loop_option option,...)
void(* uv_fs_cb)(uv_fs_t *req)
Definition: uv.h:325
#define UV_HANDLE_TYPE_MAP(XX)
Definition: uv.h:149
UV_EXTERN uv_pid_t uv_os_getppid(void)
UV_EXTERN void uv_loop_delete(uv_loop_t *)
UV_EXTERN int uv_fs_realpath(uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
UV_EXTERN int uv_timer_again(uv_timer_t *handle)
UV_EXTERN int uv_fs_link(uv_loop_t *loop, uv_fs_t *req, const char *path, const char *new_path, uv_fs_cb cb)
UV_EXTERN int uv_udp_getpeername(const uv_udp_t *handle, struct sockaddr *name, int *namelen)
UV_EXTERN int uv_loop_close(uv_loop_t *loop)
UV_EXTERN void uv_sem_wait(uv_sem_t *sem)
UV_EXTERN void uv_cond_broadcast(uv_cond_t *cond)
UV_EXTERN int uv_fs_poll_stop(uv_fs_poll_t *handle)
UV_EXTERN int uv_fs_opendir(uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
uv_poll_event
Definition: uv.h:807
@ UV_WRITABLE
Definition: uv.h:809
@ UV_DISCONNECT
Definition: uv.h:810
@ UV_PRIORITIZED
Definition: uv.h:811
@ UV_READABLE
Definition: uv.h:808
UV_EXTERN int uv_signal_init(uv_loop_t *loop, uv_signal_t *handle)
UV_EXTERN int uv_inet_pton(int af, const char *src, void *dst)
UV_EXTERN int uv_fs_rmdir(uv_loop_t *loop, uv_fs_t *req, const char *path, uv_fs_cb cb)
UV_EXTERN int uv_fs_lutime(uv_loop_t *loop, uv_fs_t *req, const char *path, double atime, double mtime, uv_fs_cb cb)
UV_EXTERN uint64_t uv_timer_get_due_in(const uv_timer_t *handle)
UV_EXTERN void uv_pipe_connect(uv_connect_t *req, uv_pipe_t *handle, const char *name, uv_connect_cb cb)
UV_EXTERN int uv_tcp_getsockname(const uv_tcp_t *handle, struct sockaddr *name, int *namelen)
UV_EXTERN int uv_fs_closedir(uv_loop_t *loop, uv_fs_t *req, uv_dir_t *dir, uv_fs_cb cb)
UV_EXTERN void uv_dlclose(uv_lib_t *lib)
UV_EXTERN void uv_disable_stdio_inheritance(void)
UV_EXTERN uv_handle_type uv_handle_get_type(const uv_handle_t *handle)
UV_EXTERN void uv_timer_set_repeat(uv_timer_t *handle, uint64_t repeat)
UV_EXTERN int uv_fs_rename(uv_loop_t *loop, uv_fs_t *req, const char *path, const char *new_path, uv_fs_cb cb)
UV_EXTERN int uv_tty_get_vterm_state(uv_tty_vtermstate_t *state)
UV_EXTERN unsigned int uv_version(void)
UV_EXTERN int uv_poll_stop(uv_poll_t *handle)
UV_EXTERN int uv_pipe_open(uv_pipe_t *, uv_file file)
UV_EXTERN int uv_pipe_chmod(uv_pipe_t *handle, int flags)
UV_EXTERN int uv_ip6_name(const struct sockaddr_in6 *src, char *dst, size_t size)
UV_EXTERN int uv_udp_set_broadcast(uv_udp_t *handle, int on)
UV_EXTERN int uv_prepare_stop(uv_prepare_t *prepare)
UV_EXTERN int uv_sem_init(uv_sem_t *sem, unsigned int value)
UV_EXTERN int uv_fileno(const uv_handle_t *handle, uv_os_fd_t *fd)
UV_EXTERN void uv_update_time(uv_loop_t *)
UV_EXTERN void uv_rwlock_rdunlock(uv_rwlock_t *rwlock)
UV_EXTERN const char * uv_fs_get_path(const uv_fs_t *)
void(* uv_close_cb)(uv_handle_t *handle)
Definition: uv.h:316
UV_EXTERN uv_thread_t uv_thread_self(void)
UV_EXTERN int uv_idle_start(uv_idle_t *idle, uv_idle_cb cb)
UV_EXTERN int uv_fs_copyfile(uv_loop_t *loop, uv_fs_t *req, const char *path, const char *new_path, int flags, uv_fs_cb cb)
UV_EXTERN int uv_mutex_init(uv_mutex_t *handle)
UV_EXTERN int uv_tcp_getpeername(const uv_tcp_t *handle, struct sockaddr *name, int *namelen)
UV_EXTERN void * uv_handle_get_data(const uv_handle_t *handle)
UV_EXTERN void uv_cond_destroy(uv_cond_t *cond)
UV_EXTERN int uv_cond_init(uv_cond_t *cond)
#define UV_STREAM_FIELDS
Definition: uv.h:482
UV_EXTERN int uv_chdir(const char *dir)
UV_EXTERN uv_pid_t uv_os_getpid(void)
void(* uv_work_cb)(uv_work_t *req)
Definition: uv.h:326
UV_EXTERN int uv_idle_init(uv_loop_t *, uv_idle_t *idle)
UV_EXTERN const char * uv_dlerror(const uv_lib_t *lib)
UV_EXTERN int uv_fs_event_getpath(uv_fs_event_t *handle, char *buffer, size_t *size)
uv_loop_option
Definition: uv.h:246
@ UV_LOOP_BLOCK_SIGNAL
Definition: uv.h:247
@ UV_METRICS_IDLE_TIME
Definition: uv.h:248
void(* uv_shutdown_cb)(uv_shutdown_t *req, int status)
Definition: uv.h:314
UV_EXTERN int uv_get_process_title(char *buffer, size_t size)
#define UV_WORK_PRIVATE_FIELDS
Definition: win.h:641
#define UV_FS_PRIVATE_FIELDS
Definition: win.h:615
int uv_pid_t
Definition: win.h:242
HANDLE uv_os_fd_t
Definition: win.h:241
#define UV_POLL_PRIVATE_FIELDS
Definition: win.h:535
#define UV_SHUTDOWN_PRIVATE_FIELDS
Definition: win.h:399
#define UV_TIMER_PRIVATE_FIELDS
Definition: win.h:550
#define UV_UDP_SEND_PRIVATE_FIELDS
Definition: win.h:402
#define UV_DIR_PRIVATE_FIELDS
Definition: win.h:305
int uv_file
Definition: win.h:239
#define UV_WRITE_PRIVATE_FIELDS
Definition: win.h:390
#define UV_PROCESS_PRIVATE_FIELDS
Definition: win.h:605
SOCKET uv_os_sock_t
Definition: win.h:240
#define UV_IDLE_PRIVATE_FIELDS
Definition: win.h:574
#define UV_PREPARE_PRIVATE_FIELDS
Definition: win.h:564
#define UV_SIGNAL_PRIVATE_FIELDS
Definition: win.h:656
#define UV_GETNAMEINFO_PRIVATE_FIELDS
Definition: win.h:596
#define UV_CHECK_PRIVATE_FIELDS
Definition: win.h:569
CRITICAL_SECTION uv_mutex_t
Definition: win.h:248
unsigned char uv_uid_t
Definition: win.h:297
HANDLE uv_sem_t
Definition: win.h:246
#define UV_UDP_PRIVATE_FIELDS
Definition: win.h:461
#define UV_TTY_PRIVATE_FIELDS
Definition: win.h:503
unsigned char uv_gid_t
Definition: win.h:298
#define UV_FS_EVENT_PRIVATE_FIELDS
Definition: win.h:644
#define UV_GETADDRINFO_PRIVATE_FIELDS
Definition: win.h:583
#define UV_TCP_PRIVATE_FIELDS
Definition: win.h:453
#define UV_CONNECT_PRIVATE_FIELDS
Definition: win.h:396
#define UV_ASYNC_PRIVATE_FIELDS
Definition: win.h:558
#define UV_LOOP_PRIVATE_FIELDS
Definition: win.h:326
#define UV_PIPE_PRIVATE_FIELDS
Definition: win.h:493
HANDLE uv_thread_t
Definition: win.h:244
#define UV_REQ_TYPE_PRIVATE
Definition: win.h:363
intptr_t ssize_t
Definition: win.h:27
#define UV_PRIVATE_REQ_TYPES
Definition: win.h:405
#define UV__EOF
Definition: errno.h:32