30 #if defined(BUILDING_UV_SHARED) && defined(USING_UV_SHARED)
31 #error "Define either BUILDING_UV_SHARED or USING_UV_SHARED, not both."
36 # if defined(BUILDING_UV_SHARED)
38 # define UV_EXTERN __declspec(dllexport)
39 # elif defined(USING_UV_SHARED)
41 # define UV_EXTERN __declspec(dllimport)
47 # define UV_EXTERN __attribute__((visibility("default")))
57 #if defined(_MSC_VER) && _MSC_VER < 1600
70 #define UV_ERRNO_MAP(XX) \
71 XX(E2BIG, "argument list too long") \
72 XX(EACCES, "permission denied") \
73 XX(EADDRINUSE, "address already in use") \
74 XX(EADDRNOTAVAIL, "address not available") \
75 XX(EAFNOSUPPORT, "address family not supported") \
76 XX(EAGAIN, "resource temporarily unavailable") \
77 XX(EAI_ADDRFAMILY, "address family not supported") \
78 XX(EAI_AGAIN, "temporary failure") \
79 XX(EAI_BADFLAGS, "bad ai_flags value") \
80 XX(EAI_BADHINTS, "invalid value for hints") \
81 XX(EAI_CANCELED, "request canceled") \
82 XX(EAI_FAIL, "permanent failure") \
83 XX(EAI_FAMILY, "ai_family not supported") \
84 XX(EAI_MEMORY, "out of memory") \
85 XX(EAI_NODATA, "no address") \
86 XX(EAI_NONAME, "unknown node or service") \
87 XX(EAI_OVERFLOW, "argument buffer overflow") \
88 XX(EAI_PROTOCOL, "resolved protocol is unknown") \
89 XX(EAI_SERVICE, "service not available for socket type") \
90 XX(EAI_SOCKTYPE, "socket type not supported") \
91 XX(EALREADY, "connection already in progress") \
92 XX(EBADF, "bad file descriptor") \
93 XX(EBUSY, "resource busy or locked") \
94 XX(ECANCELED, "operation canceled") \
95 XX(ECHARSET, "invalid Unicode character") \
96 XX(ECONNABORTED, "software caused connection abort") \
97 XX(ECONNREFUSED, "connection refused") \
98 XX(ECONNRESET, "connection reset by peer") \
99 XX(EDESTADDRREQ, "destination address required") \
100 XX(EEXIST, "file already exists") \
101 XX(EFAULT, "bad address in system call argument") \
102 XX(EFBIG, "file too large") \
103 XX(EHOSTUNREACH, "host is unreachable") \
104 XX(EINTR, "interrupted system call") \
105 XX(EINVAL, "invalid argument") \
106 XX(EIO, "i/o error") \
107 XX(EISCONN, "socket is already connected") \
108 XX(EISDIR, "illegal operation on a directory") \
109 XX(ELOOP, "too many symbolic links encountered") \
110 XX(EMFILE, "too many open files") \
111 XX(EMSGSIZE, "message too long") \
112 XX(ENAMETOOLONG, "name too long") \
113 XX(ENETDOWN, "network is down") \
114 XX(ENETUNREACH, "network is unreachable") \
115 XX(ENFILE, "file table overflow") \
116 XX(ENOBUFS, "no buffer space available") \
117 XX(ENODEV, "no such device") \
118 XX(ENOENT, "no such file or directory") \
119 XX(ENOMEM, "not enough memory") \
120 XX(ENONET, "machine is not on the network") \
121 XX(ENOPROTOOPT, "protocol not available") \
122 XX(ENOSPC, "no space left on device") \
123 XX(ENOSYS, "function not implemented") \
124 XX(ENOTCONN, "socket is not connected") \
125 XX(ENOTDIR, "not a directory") \
126 XX(ENOTEMPTY, "directory not empty") \
127 XX(ENOTSOCK, "socket operation on non-socket") \
128 XX(ENOTSUP, "operation not supported on socket") \
129 XX(EPERM, "operation not permitted") \
130 XX(EPIPE, "broken pipe") \
131 XX(EPROTO, "protocol error") \
132 XX(EPROTONOSUPPORT, "protocol not supported") \
133 XX(EPROTOTYPE, "protocol wrong type for socket") \
134 XX(ERANGE, "result too large") \
135 XX(EROFS, "read-only file system") \
136 XX(ESHUTDOWN, "cannot send after transport endpoint shutdown") \
137 XX(ESPIPE, "invalid seek") \
138 XX(ESRCH, "no such process") \
139 XX(ETIMEDOUT, "connection timed out") \
140 XX(ETXTBSY, "text file is busy") \
141 XX(EXDEV, "cross-device link not permitted") \
142 XX(UNKNOWN, "unknown error") \
143 XX(EOF, "end of file") \
144 XX(ENXIO, "no such device or address") \
145 XX(EMLINK, "too many links") \
146 XX(EHOSTDOWN, "host is down") \
147 XX(EREMOTEIO, "remote I/O error") \
148 XX(ENOTTY, "inappropriate ioctl for device") \
149 XX(EFTYPE, "inappropriate file type or format") \
150 XX(EILSEQ, "illegal byte sequence") \
152 #define UV_HANDLE_TYPE_MAP(XX) \
155 XX(FS_EVENT, fs_event) \
156 XX(FS_POLL, fs_poll) \
159 XX(NAMED_PIPE, pipe) \
161 XX(PREPARE, prepare) \
162 XX(PROCESS, process) \
170 #define UV_REQ_TYPE_MAP(XX) \
172 XX(CONNECT, connect) \
174 XX(SHUTDOWN, shutdown) \
175 XX(UDP_SEND, udp_send) \
178 XX(GETADDRINFO, getaddrinfo) \
179 XX(GETNAMEINFO, getnameinfo) \
183 #define XX(code, _) UV_ ## code = UV__ ## code,
191 #define XX(uc, lc) UV_##uc,
200 #define XX(uc, lc) UV_##uc,
264 typedef void* (*uv_malloc_func)(
size_t size);
265 typedef void* (*uv_realloc_func)(
void* ptr,
size_t size);
266 typedef void* (*uv_calloc_func)(
size_t count,
size_t size);
310 size_t suggested_size,
333 struct addrinfo* res);
336 const char* hostname,
337 const char* service);
397 #define UV_REQ_FIELDS \
404 UV_REQ_PRIVATE_FIELDS \
428 #define UV_HANDLE_FIELDS \
433 uv_handle_type type; \
435 uv_close_cb close_cb; \
436 void* handle_queue[2]; \
441 UV_HANDLE_PRIVATE_FIELDS \
479 #define UV_STREAM_FIELDS \
481 size_t write_queue_size; \
482 uv_alloc_cb alloc_cb; \
483 uv_read_cb read_cb; \
485 UV_STREAM_PRIVATE_FIELDS
676 const char* multicast_addr,
677 const char* interface_addr,
680 const char* multicast_addr,
681 const char* interface_addr,
682 const char* source_addr,
687 const char* interface_addr);
896 const struct addrinfo* hints);
1201 #if defined(__PASE__)
1203 # define UV_PRIORITY_LOW 39
1204 # define UV_PRIORITY_BELOW_NORMAL 15
1205 # define UV_PRIORITY_NORMAL 0
1206 # define UV_PRIORITY_ABOVE_NORMAL -4
1207 # define UV_PRIORITY_HIGH -7
1208 # define UV_PRIORITY_HIGHEST -10
1210 # define UV_PRIORITY_LOW 19
1211 # define UV_PRIORITY_BELOW_NORMAL 10
1212 # define UV_PRIORITY_NORMAL 0
1213 # define UV_PRIORITY_ABOVE_NORMAL -7
1214 # define UV_PRIORITY_HIGH -14
1215 # define UV_PRIORITY_HIGHEST -20
1240 #ifdef MAXHOSTNAMELEN
1241 # define UV_MAXHOSTNAMESIZE (MAXHOSTNAMELEN + 1)
1248 # define UV_MAXHOSTNAMESIZE 256
1358 #define UV_FS_COPYFILE_EXCL 0x0001
1364 #define UV_FS_COPYFILE_FICLONE 0x0002
1370 #define UV_FS_COPYFILE_FICLONE_FORCE 0x0004
1375 const char* new_path,
1425 const char* new_path,
1482 const char* new_path,
1489 #define UV_FS_SYMLINK_DIR 0x0001
1495 #define UV_FS_SYMLINK_JUNCTION 0x0002
1500 const char* new_path,
1567 unsigned int interval);
1628 unsigned int flags);
1663 #if defined(IF_NAMESIZE)
1664 # define UV_IF_NAMESIZE (IF_NAMESIZE + 1)
1665 #elif defined(IFNAMSIZ)
1666 # define UV_IF_NAMESIZE (IFNAMSIZ + 1)
1668 # define UV_IF_NAMESIZE (16 + 1)
1769 #define XX(_, name) uv_ ## name ## _t name;
1801 #undef UV_HANDLE_TYPE_PRIVATE
1802 #undef UV_REQ_TYPE_PRIVATE
1803 #undef UV_REQ_PRIVATE_FIELDS
1804 #undef UV_STREAM_PRIVATE_FIELDS
1805 #undef UV_TCP_PRIVATE_FIELDS
1806 #undef UV_PREPARE_PRIVATE_FIELDS
1807 #undef UV_CHECK_PRIVATE_FIELDS
1808 #undef UV_IDLE_PRIVATE_FIELDS
1809 #undef UV_ASYNC_PRIVATE_FIELDS
1810 #undef UV_TIMER_PRIVATE_FIELDS
1811 #undef UV_GETADDRINFO_PRIVATE_FIELDS
1812 #undef UV_GETNAMEINFO_PRIVATE_FIELDS
1813 #undef UV_FS_REQ_PRIVATE_FIELDS
1814 #undef UV_WORK_PRIVATE_FIELDS
1815 #undef UV_FS_EVENT_PRIVATE_FIELDS
1816 #undef UV_SIGNAL_PRIVATE_FIELDS
1817 #undef UV_LOOP_PRIVATE_FIELDS
1818 #undef UV_LOOP_PRIVATE_PLATFORM_FIELDS
static const char * arg(RzAnalysis *a, csh *handle, cs_insn *insn, char *buf, int n)
static mcore_handle handle
static static fork const void static count static fd const char const char static newpath const char static path const char path
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval tv
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec req
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void count
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd socket
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len key
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void length
static void poll_cb(uv_fs_t *req)
static static fork const void static count static fd const char const char static newpath char char char static envp time_t static t const char static mode static whence const char static dir time_t static t unsigned static seconds const char struct utimbuf static buf static inc pid
static static fork const void static count static fd const char const char static newpath char char argv
static const char struct stat static buf struct stat static buf static vhangup int options
static const char struct stat static buf struct stat static buf static vhangup int status
static static fork const void static count static fd const char static mode const char static pathname const char static path const char static dev const char static group static getpid static getuid void void static data static pause const char static mode static sync const char const char static newpath const char static pathname unsigned long static filedes void static end_data_segment signum
static void repeat(struct parse *, sopno, int, int)
static struct sockaddr static addrlen static backlog const void static flags void flags
#define cond(bop, top, mask, flags)
UV_REQ_FIELDS uv_connect_cb cb
struct uv_cpu_times_s cpu_times
UV_HANDLE_FIELDS char * path
UV_HANDLE_FIELDS void * poll_ctx
UV_REQ_FIELDS uv_fs_type fs_type
UV_REQ_FIELDS uv_loop_t * loop
UV_REQ_FIELDS uv_loop_t * loop
struct sockaddr_in6 netmask6
struct sockaddr_in6 address6
struct sockaddr_in netmask4
union uv_interface_address_s::@399 netmask
union uv_interface_address_s::@398 address
struct sockaddr_in address4
union uv_loop_s::@400 active_reqs
unsigned int active_handles
UV_HANDLE_FIELDS UV_STREAM_FIELDS int ipc
UV_HANDLE_FIELDS uv_poll_cb poll_cb
uv_stdio_container_t * stdio
UV_HANDLE_FIELDS uv_exit_cb exit_cb
UV_REQ_FIELDS uv_loop_t * loop
UV_REQ_FIELDS uv_stream_t * handle
UV_HANDLE_FIELDS uv_signal_cb signal_cb
uv_timespec_t st_birthtim
union uv_stdio_container_s::@397 data
UV_HANDLE_FIELDS size_t send_queue_size
UV_REQ_FIELDS uv_udp_t * handle
uv_after_work_cb after_work_cb
UV_REQ_FIELDS uv_loop_t * loop
uv_stream_t * send_handle
UV_REQ_FIELDS uv_write_cb cb
static enum exit_status_type exit_status
Exit status to use. This can be changed with set_exit_status().
static char bufs[4][128]
Buffers for uint64_to_str() and uint64_to_nicestr()
#define UV_WORK_PRIVATE_FIELDS
#define UV_FS_PRIVATE_FIELDS
UV_PLATFORM_SEM_T uv_sem_t
#define UV_POLL_PRIVATE_FIELDS
#define UV_SHUTDOWN_PRIVATE_FIELDS
#define UV_TIMER_PRIVATE_FIELDS
#define UV_UDP_SEND_PRIVATE_FIELDS
#define UV_DIR_PRIVATE_FIELDS
#define UV_WRITE_PRIVATE_FIELDS
#define UV_PROCESS_PRIVATE_FIELDS
#define UV_IDLE_PRIVATE_FIELDS
#define UV_PREPARE_PRIVATE_FIELDS
#define UV_SIGNAL_PRIVATE_FIELDS
#define UV_GETNAMEINFO_PRIVATE_FIELDS
#define UV_CHECK_PRIVATE_FIELDS
pthread_mutex_t uv_mutex_t
#define UV_UDP_PRIVATE_FIELDS
#define UV_TTY_PRIVATE_FIELDS
#define UV_FS_EVENT_PRIVATE_FIELDS
#define UV_GETADDRINFO_PRIVATE_FIELDS
#define UV_TCP_PRIVATE_FIELDS
#define UV_CONNECT_PRIVATE_FIELDS
#define UV_ASYNC_PRIVATE_FIELDS
#define UV_LOOP_PRIVATE_FIELDS
#define UV_PIPE_PRIVATE_FIELDS
#define UV_REQ_TYPE_PRIVATE
#define UV_PRIVATE_REQ_TYPES
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)
@ UV_THREAD_HAS_STACK_SIZE
UV_EXTERN void uv_key_delete(uv_key_t *key)
UV_EXTERN void uv_stop(uv_loop_t *)
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_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)
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)
void(* uv_write_cb)(uv_write_t *req, int status)
@ UV_PROCESS_WINDOWS_HIDE_CONSOLE
@ UV_PROCESS_WINDOWS_VERBATIM_ARGUMENTS
@ UV_PROCESS_WINDOWS_HIDE
@ UV_PROCESS_WINDOWS_HIDE_GUI
void(* uv_connection_cb)(uv_stream_t *server, int status)
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 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 void * uv_key_get(uv_key_t *key)
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)
UV_EXTERN void * uv_handle_get_data(const uv_handle_t *handle)
void(* uv_getaddrinfo_cb)(uv_getaddrinfo_t *req, int status, struct addrinfo *res)
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 void * uv_loop_get_data(const uv_loop_t *)
UV_EXTERN int uv_ip6_addr(const char *ip, int port, struct sockaddr_in6 *addr)
UV_EXTERN int uv_fs_fsync(uv_loop_t *loop, uv_fs_t *req, uv_file file, uv_fs_cb cb)
void(* uv_fs_event_cb)(uv_fs_event_t *handle, const char *filename, int events, int status)
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)
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_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)
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_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 uv_loop_t * uv_loop_new(void)
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_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 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 int uv_os_getpriority(uv_pid_t pid, int *priority)
void(* uv_prepare_cb)(uv_prepare_t *handle)
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)
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_ip4_name(const struct sockaddr_in *src, char *dst, size_t size)
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 char ** uv_setup_args(int argc, char **argv)
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)
void *(* uv_malloc_func)(size_t size)
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 void uv_tty_set_vterm_state(uv_tty_vtermstate_t state)
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)
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_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)
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 char * uv_strerror_r(int err, char *buf, size_t buflen)
UV_EXTERN size_t uv_stream_get_write_queue_size(const uv_stream_t *stream)
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_calloc_func)(size_t count, size_t size)
void(* uv_poll_cb)(uv_poll_t *handle, int status, int events)
UV_EXTERN int uv_signal_stop(uv_signal_t *handle)
UV_EXTERN const char * uv_req_type_name(uv_req_type type)
UV_EXTERN int uv_os_homedir(char *buffer, size_t *size)
UV_EXTERN const char * uv_fs_get_path(const uv_fs_t *)
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)
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_EXTERN int uv_barrier_wait(uv_barrier_t *barrier)
UV_EXTERN int uv_tty_set_mode(uv_tty_t *, uv_tty_mode_t mode)
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)
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_WATCH_ENTRY
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 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 const char * uv_err_name(int err)
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_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 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)
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)
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)
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)
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)
void(* uv_udp_send_cb)(uv_udp_send_t *req, int status)
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)
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 const char * uv_version_string(void)
UV_EXTERN void uv_close(uv_handle_t *handle, uv_close_cb close_cb)
UV_EXTERN const char * uv_handle_type_name(uv_handle_type type)
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 const char * uv_strerror(int err)
UV_EXTERN int uv_thread_create(uv_thread_t *tid, uv_thread_cb entry, void *arg)
UV_EXTERN uint64_t uv_get_total_memory(void)
UV_EXTERN int uv_udp_connect(uv_udp_t *handle, const struct sockaddr *addr)
UV_EXTERN ssize_t uv_fs_get_result(const uv_fs_t *)
void *(* uv_realloc_func)(void *ptr, size_t size)
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)
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)
void(* uv_signal_cb)(uv_signal_t *handle, int signum)
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_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)
UV_EXTERN char * uv_err_name_r(int err, char *buf, size_t buflen)
UV_EXTERN uv_stat_t * uv_fs_get_statbuf(uv_fs_t *)
void(* uv_connect_cb)(uv_connect_t *req, int status)
UV_EXTERN int uv_uptime(double *uptime)
void(* uv_idle_cb)(uv_idle_t *handle)
void(* uv_exit_cb)(uv_process_t *, int64_t exit_status, int term_signal)
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 void * uv_req_get_data(const uv_req_t *req)
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 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)
UV_EXTERN uv_loop_t * uv_default_loop(void)
void(* uv_async_cb)(uv_async_t *handle)
UV_EXTERN int uv_async_init(uv_loop_t *, uv_async_t *async, uv_async_cb async_cb)
UV_EXTERN int uv_udp_getsockname(const uv_udp_t *handle, struct sockaddr *name, int *namelen)
UV_EXTERN const char * uv_dlerror(const uv_lib_t *lib)
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)
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_EXTERN int uv_loop_configure(uv_loop_t *loop, uv_loop_option option,...)
void(* uv_fs_cb)(uv_fs_t *req)
#define UV_HANDLE_TYPE_MAP(XX)
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_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_fs_get_ptr(const uv_fs_t *)
UV_EXTERN void uv_rwlock_rdunlock(uv_rwlock_t *rwlock)
UV_EXTERN uv_loop_t * uv_handle_get_loop(const uv_handle_t *handle)
void(* uv_close_cb)(uv_handle_t *handle)
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_cond_destroy(uv_cond_t *cond)
UV_EXTERN int uv_cond_init(uv_cond_t *cond)
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)
UV_EXTERN int uv_idle_init(uv_loop_t *, uv_idle_t *idle)
UV_EXTERN int uv_fs_event_getpath(uv_fs_event_t *handle, char *buffer, size_t *size)
void(* uv_shutdown_cb)(uv_shutdown_t *req, int status)
UV_EXTERN int uv_get_process_title(char *buffer, size_t size)
static const z80_opcode fd[]