forked from amphp/ext-uv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
uv.stub.php
1210 lines (948 loc) · 24.5 KB
/
uv.stub.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
/** @strict-properties */
abstract class UV
{
const EOF = null;
/**
* This flag indicates an event that becomes active when the provided file
* descriptor(usually a stream resource, or socket) is ready for reading.
*/
const READABLE = 1;
/**
* This flag indicates an event that becomes active when the provided file
* descriptor(usually a stream resource, or socket) is ready for reading.
*/
const WRITABLE = 2;
/**
* Runs the event loop until there are no more active and referenced
* handles or requests.
* Mode used to run the loop with.
*/
const RUN_DEFAULT = 0;
/**
* Poll for i/o once. Note that this function blocks
* if there are no pending callbacks.
* Mode used to run the loop with.
*/
const RUN_ONCE = 1;
/**
* Poll for i/o once but don’t block if there are no pending callbacks.
* Mode used to run the loop with.
*/
const RUN_NOWAIT = 2;
/**
* FS Event monitor type
*/
const CHANGE = 1;
/**
* FS Event monitor type
*/
const RENAME = 2;
/**
* Open the file for read-only access.
*/
const O_RDONLY = 1;
/**
* Open the file for write-only access.
*/
const O_WRONLY = 2;
/**
* Open the file for read-write access.
*/
const O_RDWR = 3;
/**
* The file is created if it does not already exist.
*/
const O_CREAT = 4;
/**
* If the O_CREAT flag is set and the file already exists,
* fail the open.
*/
const O_EXCL = 5;
/**
* If the file exists and is a regular file, and the file is
* opened successfully for write access, its length shall be truncated to zero.
*/
const O_TRUNC = 6;
/**
* The file is opened in append mode. Before each write,
* the file offset is positioned at the end of the file.
*/
const O_APPEND = 7;
/**
* If the path identifies a terminal device, opening the path will not cause that
* terminal to become the controlling terminal for the process (if the process does
* not already have one).
*
* - Note O_NOCTTY is not supported on Windows.
*/
const O_NOCTTY = 8;
/**
* read, write, execute/search by owner
*/
const S_IRWXU = 00700;
/**
* read permission, owner
*/
const S_IRUSR = 00400;
/**
* write permission, owner
*/
const S_IWUSR = 00200;
/**
* execute/search permission, owner
*/
const S_IXUSR = 00100;
/**
* read, write, execute/search by group
*/
const S_IRWXG = 00070;
/**
* read permission, group
*/
const S_IRGRP = 00040;
/**
* write permission, group
*/
const S_IWGRP = 00020;
/**
* execute/search permission, group
*/
const S_IXGRP = 00010;
/**
* read, write, execute/search by others
*/
const S_IRWXO = 00007;
/**
* read permission, others
*/
const S_IROTH = 00004;
/**
* write permission, others
*/
const S_IWOTH = 00002;
/**
* execute/search permission, others
*/
const S_IXOTH = 00001;
/**
* bit mask type of file
*/
const S_IFMT = 0170000;
/**
* block special file type
*/
const S_IFBLK = 0060000;
/**
* character special file type
*/
const S_IFCHR = 0020000;
/**
* FIFO special file type
*/
const S_IFIFO = 0010000;
/**
* regular file type
*/
const S_IFREG = 0100000;
/**
* directory file type
*/
const S_IFDIR = 0040000;
/**
* symbolic link file type
*/
const S_IFLNK = 0120000;
/**
* socket file type
*/
const S_IFSOCK = 0140000;
const AF_INET = 1;
const AF_INET6 = 2;
const AF_UNSPEC = 3;
const LEAVE_GROUP = 1;
const JOIN_GROUP = 2;
/**
* Flags specifying how a stdio should be transmitted to the child process.
*/
const IGNORE = 0x00;
/**
* Flags specifying how a stdio should be transmitted to the child process.
*/
const CREATE_PIPE = 0x01;
/**
* Flags specifying how a stdio should be transmitted to the child process.
*/
const INHERIT_FD = 0x02;
/**
* Flags specifying how a stdio should be transmitted to the child process.
*/
const INHERIT_STREAM = 0x04;
/**
* When `UV::CREATE_PIPE` is specified, `UV::READABLE_PIPE` and `UV::WRITABLE_PIPE`
* determine the direction of flow, from the child process' perspective. Both
* flags may be specified to create a duplex data stream.
*/
const READABLE_PIPE = 0x10;
const WRITABLE_PIPE = 0x20;
/**
* Open the child pipe handle in overlapped mode on Windows.
* On Unix it is silently ignored.
*/
const OVERLAPPED_PIPE = 0x40;
/**
* Disables dual stack mode.
*/
const UDP_IPV6ONLY = 1;
/**
* Indicates message was truncated because read buffer was too small. The
* remainder was discarded by the OS. Used in uv_udp_recv_cb.
*/
const UDP_PARTIAL = 2;
/**
* Set the child process' user id.
*/
const PROCESS_SETUID = (1 << 0);
/**
* Set the child process' group id.
*/
const PROCESS_SETGID = (1 << 1);
/**
* Do not wrap any arguments in quotes, or perform any other escaping, when
* converting the argument list into a command line string. This option is
* only meaningful on Windows systems. On Unix it is silently ignored.
*/
const PROCESS_WINDOWS_VERBATIM_ARGUMENTS = (1 << 2);
/**
* Spawn the child process in a detached state - this will make it a process
* group leader, and will effectively enable the child to keep running after
* the parent exits. Note that the child process will still keep the
* parent's event loop alive unless the parent process calls uv_unref() on
* the child's process handle.
*/
const PROCESS_DETACHED = (1 << 3);
/**
* Hide the subprocess window that would normally be created. This option is
* only meaningful on Windows systems. On Unix it is silently ignored.
*/
const PROCESS_WINDOWS_HIDE = (1 << 4);
/**
* Hide the subprocess console window that would normally be created. This
* option is only meaningful on Windows systems. On Unix it is silently
* ignored.
*/
const PROCESS_WINDOWS_HIDE_CONSOLE = (1 << 5);
/**
* Hide the subprocess GUI window that would normally be created. This
* option is only meaningful on Windows systems. On Unix it is silently
* ignored.
*/
const PROCESS_WINDOWS_HIDE_GUI = (1 << 6);
/**
* Initial/normal terminal mode
*/
const TTY_MODE_NORMAL = 0;
/**
* Raw input mode (On Windows, ENABLE_WINDOW_INPUT is also enabled)
*/
const TTY_MODE_RAW = 1;
/**
* Binary-safe I/O mode for IPC (Unix-only)
*/
const TTY_MODE_IO = 2;
/**
* The SIGHUP signal is sent to a process when its controlling terminal is closed. It was originally designed to
* notify the process of a serial line drop (a hangup). In modern systems, this signal usually means that the
* controlling pseudo or virtual terminal has been closed. Many daemons will reload their configuration files and
* reopen their logfiles instead of exiting when receiving this signal. nohup is a command to make a command ignore
* the signal.
*/
const SIGHUP = 1;
/**
* The SIGINT signal is sent to a process by its controlling terminal when a user wishes to interrupt the process.
* This is typically initiated by pressing Ctrl-C, but on some systems, the "delete" character or "break" key can be
* used.
*/
const SIGINT = 2;
/**
* The SIGQUIT signal is sent to a process by its controlling terminal when the user requests that the process quit
* and perform a core dump.
*/
const SIGQUIT = 3;
/**
* The SIGILL signal is sent to a process when it attempts to execute an illegal, malformed, unknown, or privileged
* instruction.
*/
const SIGILL = 4;
/**
* The SIGTRAP signal is sent to a process when an exception (or trap) occurs: a condition that a debugger has
* requested to be informed of — for example, when a particular function is executed, or when a particular variable
* changes value.
*/
const SIGTRAP = 5;
/**
* The SIGABRT signal is sent to a process to tell it to abort, i.e. to terminate. The signal is usually initiated
* by the process itself when it calls abort function of the C Standard Library, but it can be sent to the process
* from outside like any other signal.
*/
const SIGABRT = 6;
const SIGIOT = 6;
/**
* The SIGBUS signal is sent to a process when it causes a bus error. The conditions that lead to the signal being
* sent are, for example, incorrect memory access alignment or non-existent physical address.
*/
const SIGBUS = 7;
const SIGFPE = 8;
/**
* The SIGKILL signal is sent to a process to cause it to terminate immediately (kill). In contrast to SIGTERM and
* SIGINT, this signal cannot be caught or ignored, and the receiving process cannot perform any clean-up upon
* receiving this signal.
*/
const SIGKILL = 9;
/**
* The SIGUSR1 signal is sent to a process to indicate user-defined conditions.
*/
const SIGUSR1 = 10;
/**
* The SIGUSR1 signa2 is sent to a process to indicate user-defined conditions.
*/
const SIGUSR2 = 12;
/**
* The SIGSEGV signal is sent to a process when it makes an invalid virtual memory reference, or segmentation fault,
* i.e. when it performs a segmentation violation.
*/
const SIGSEGV = 11;
/**
* The SIGPIPE signal is sent to a process when it attempts to write to a pipe without a process connected to the
* other end.
*/
const SIGPIPE = 13;
/**
* The SIGALRM, SIGVTALRM and SIGPROF signal is sent to a process when the time limit specified in a call to a
* preceding alarm setting function (such as setitimer) elapses. SIGALRM is sent when real or clock time elapses.
* SIGVTALRM is sent when CPU time used by the process elapses. SIGPROF is sent when CPU time used by the process
* and by the system on behalf of the process elapses.
*/
const SIGALRM = 14;
/**
* The SIGTERM signal is sent to a process to request its termination. Unlike the SIGKILL signal, it can be caught
* and interpreted or ignored by the process. This allows the process to perform nice termination releasing
* resources and saving state if appropriate. SIGINT is nearly identical to SIGTERM.
*/
const SIGTERM = 15;
const SIGSTKFLT = 16;
const SIGCLD = 17;
/**
* The SIGCHLD signal is sent to a process when a child process terminates, is interrupted, or resumes after being
* interrupted. One common usage of the signal is to instruct the operating system to clean up the resources used by
* a child process after its termination without an explicit call to the wait system call.
*/
const SIGCHLD = 17;
/**
* The SIGCONT signal instructs the operating system to continue (restart) a process previously paused by the
* SIGSTOP or SIGTSTP signal. One important use of this signal is in job control in the Unix shell.
*/
const SIGCONT = 18;
/**
* The SIGSTOP signal instructs the operating system to stop a process for later resumption.
*/
const SIGSTOP = 19;
/**
* The SIGTSTP signal is sent to a process by its controlling terminal to request it to stop (terminal stop). It is
* commonly initiated by the user pressing Ctrl+Z. Unlike SIGSTOP, the process can register a signal handler for or
* ignore the signal.
*/
const SIGTSTP = 20;
/**
* The SIGTTIN signal is sent to a process when it attempts to read in from the tty while in the background.
* Typically, this signal is received only by processes under job control; daemons do not have controlling
*/
const SIGTTIN = 21;
/**
* The SIGTTOU signal is sent to a process when it attempts to write out from the tty while in the background.
* Typically, this signal is received only by processes under job control; daemons do not have controlling
*/
const SIGTTOU = 22;
/**
* The SIGURG signal is sent to a process when a socket has urgent or out-of-band data available to read.
*/
const SIGURG = 23;
/**
* The SIGXCPU signal is sent to a process when it has used up the CPU for a duration that exceeds a certain
* predetermined user-settable value. The arrival of a SIGXCPU signal provides the receiving process a chance to
* quickly save any intermediate results and to exit gracefully, before it is terminated by the operating system
* using the SIGKILL signal.
*/
const SIGXCPU = 24;
/**
* The SIGXFSZ signal is sent to a process when it grows a file larger than the maximum allowed size
*/
const SIGXFSZ = 25;
/**
* The SIGVTALRM signal is sent to a process when the time limit specified in a call to a preceding alarm setting
* function (such as setitimer) elapses. SIGVTALRM is sent when CPU time used by the process elapses.
*/
const SIGVTALRM = 26;
/**
* The SIGPROF signal is sent to a process when the time limit specified in a call to a preceding alarm setting
* function (such as setitimer) elapses. SIGPROF is sent when CPU time used by the process and by the system on
* behalf of the process elapses.
*/
const SIGPROF = 27;
/**
* The SIGWINCH signal is sent to a process when its controlling terminal changes its size (a window change).
*/
const SIGWINCH = 28;
/**
* The SIGPOLL signal is sent when an event occurred on an explicitly watched file descriptor. Using it effectively
* leads to making asynchronous I/O requests since the kernel will poll the descriptor in place of the caller. It
* provides an alternative to active polling.
*/
const SIGPOLL = 29;
const SIGIO = 29;
/**
* The SIGPWR signal is sent to a process when the system experiences a power failure.
*/
const SIGPWR = 30;
/**
* The SIGSYS signal is sent to a process when it passes a bad argument to a system call. In practice, this kind of
* signal is rarely encountered since applications rely on libraries (e.g. libc) to make the call for them.
*/
const SIGSYS = 31;
const SIGBABY = 31;
const UV_UNKNOWN_HANDLE = 0;
const UV_ASYNC = 1;
const UV_CHECK = 2;
const UV_FS_EVENT = 3;
const UV_FS_POLL = 4;
const UV_HANDLE = 5;
const UV_IDLE = 6;
const UV_NAMED_PIPE = 7;
const UV_POLL = 8;
const UV_PREPARE = 9;
const UV_PROCESS = 10;
const UV_STREAM = 11;
const UV_TCP = 12;
const UV_TIMER = 13;
const UV_TTY = 14;
const UV_UDP = 15;
const UV_SIGNAL = 16;
const UV_FILE = 17;
const UV_HANDLE_TYPE_MAX = 18;
}
final class UVLoop
{
}
class UVStream extends UV
{
}
final class UVTcp extends UVStream
{
}
final class UVUdp extends UV
{
}
final class UVPipe extends UVStream
{
}
final class UVPoll extends UV
{
}
final class UVTimer extends UV
{
}
final class UVSignal extends UV
{
}
final class UVProcess extends UV
{
}
final class UVAsync extends UV
{
}
final class UVTty extends UVStream
{
}
final class UVIdle extends UV
{
}
final class UVPrepare extends UV
{
}
final class UVCheck extends UV
{
}
final class UVStdio
{
}
abstract class UVSockAddr
{
}
final class UVSockAddrIPv4 extends UVSockAddr
{
}
final class UVSockAddrIPv6 extends UVSockAddr
{
}
final class UVLock
{
}
final class UVFsEvent extends UV
{
}
function uv_loop_new()
{
}
function uv_default_loop()
{
}
function uv_run(UVLoop $loop = null, int $mode = UV::RUN_DEFAULT)
{
}
function uv_poll_start(UVPoll $poll, $events, ?callable $callback = null)
{
}
function uv_poll_init_socket(UVLoop $loop, $socket)
{
}
function uv_poll_init(UVLoop $loop, $fd)
{
}
function uv_poll_stop(UVPoll $poll)
{
}
function uv_close(UV $handle, ?callable $callback = null)
{
}
function uv_shutdown(UVStream $handle, ?callable $callback = null)
{
}
function uv_timer_init(UVLoop $loop = null)
{
}
function uv_timer_start(UVTimer $timer, int $timeout, int $repeat, callable $callback = null)
{
}
function uv_timer_stop(UVTimer $timer)
{
}
function uv_stop(UVLoop $loop)
{
}
function uv_write(UV $handle, string $data, callable $callback)
{
}
function uv_read_start(UVStream $handle, callable $callback)
{
}
function uv_fs_open(UVLoop $loop, string $path, int $flag, int $mode, callable $callback)
{
}
function uv_fs_close(UVLoop $loop, $fd, callable $callback)
{
}
function uv_fs_read(UVLoop $loop, $fd, int $offset, int $length, callable $callback)
{
}
function uv_fs_write(UVLoop $loop, $fd, string $buffer, int $offset = -1, callable $callback)
{
}
function uv_fs_fdatasync(UVLoop $loop, $fd, callable $callback)
{
}
function uv_fs_scandir(UVLoop $loop, string $path, int $flags = 0, callable $callback)
{
}
function uv_fs_stat(UVLoop $loop, string $path, callable $callback)
{
}
function uv_fs_lstat(UVLoop $loop, string $path, callable $callback)
{
}
function uv_fs_fstat(UVLoop $loop, $fd, callable $callback)
{
}
function uv_fs_sendfile(UVLoop $loop, $out_fd, $in_fd, int $offset, int $length, callable $callback)
{
}
function uv_is_active(UV $handle)
{
}
function uv_fs_poll_start(UVPoll $poll, $callback, string $path, int $interval)
{
}
function uv_fs_poll_stop(UVPoll $poll)
{
}
function uv_fs_poll_init(UVLoop $loop)
{
}
function uv_exepath()
{
}
function uv_cwd()
{
}
function uv_cpu_info()
{
}
function uv_signal_init(UVLoop $loop = null)
{
}
function uv_signal_start(UVSignal $handle, callable $callback, int $signal)
{
}
function uv_signal_stop(UVSignal $handle)
{
}
function uv_spawn(
UVLoop $loop,
string $command,
array $args,
array $stdio,
string $cwd,
array $env = array(),
callable $callback,
int $flags = 0,
array $options = []
) {
}
function uv_process_kill(UVProcess $process, int $signal)
{
}
function uv_process_get_pid(UVProcess $process)
{
}
function uv_kill(int $pid, int $signal)
{
}
function uv_pipe_init(UVLoop $loop, bool $ipc)
{
}
function uv_pipe_open(UVPipe $handle, int $pipe)
{
}
function uv_pipe_bind(UVPipe $handle, string $name)
{
}
function uv_pipe_connect(UVPipe $handle, string $path, callable $callback)
{
}
function uv_pipe_pending_instances(UVPipe $handle, $count)
{
}
function uv_stdio_new($fd, int $flags)
{
}
function uv_async_init(UVLoop $loop, callable $callback)
{
}
function uv_async_send(UVAsync $handle)
{
}
function uv_queue_work(UVLoop $loop, callable $callback, callable $after_callback)
{
}
function uv_idle_init(UVLoop $loop = null)
{
}
function uv_idle_start(UVIdle $idle, callable $callback)
{
}
function uv_idle_stop(UVIdle $idle)
{
}
function uv_prepare_init(UVLoop $loop = null)
{
}
function uv_prepare_start(UVPrepare $handle, callable $callback)
{
}
function uv_prepare_stop(UVPrepare $handle)
{
}
function uv_check_init(UVLoop $loop = null)
{
}
function uv_check_start(UVCheck $handle, callable $callback)
{
}
function uv_check_stop(UVCheck $handle)
{
}
function uv_last_error(UVLoop $uv_loop = null)
{
}
function uv_err_name(int $error_code)
{
}
function uv_strerror(int $error_code)
{
}
function uv_update_time(UVLoop $uv_loop)
{
}
function uv_ref(UV $uv_handle)
{
}
function uv_unref(UV $uv_t)
{
}
function uv_now(UVLoop $uv_loop = null)
{
}
function uv_loop_delete(UVLoop $uv_loop)
{
}
function uv_tcp_bind(UVTcp $uv_tcp, UVSockAddr $uv_sockaddr)
{
}
function uv_tcp_bind6(UVTcp $uv_tcp, UVSockAddr $uv_sockaddr)
{
}
function uv_write2(UVStream $handle, string $data, $send, callable $callback)
{
}
function uv_tcp_nodelay(UVTcp $handle, bool $enable)
{
}
function uv_accept($server, $client)
{
}
function uv_listen($handle, int $backlog, callable $callback)
{
}
function uv_read_stop(UVStream $handle)
{
}
function uv_ip4_addr(string $ipv4_addr, int $port)
{
}
function uv_ip6_addr(string $ipv6_addr, int $port)
{
}
function uv_tcp_connect(UVTcp $handle, UVSockAddr $ipv4_addr, callable $callback)
{
}
function uv_tcp_connect6(UVTcp $handle, UVSockAddrIPv6 $ipv6_addr, callable $callback)
{
}
function uv_timer_again(UVTimer $timer)
{
}
function uv_timer_set_repeat(UVTimer $timer, int $repeat)
{
}
function uv_timer_get_repeat(UVTimer $timer)
{
}
function uv_getaddrinfo(UVLoop $loop, callable $callback, string $node = null, string $service = null, array $hints = [])
{
}
function uv_ip4_name(UVSockAddr $address)
{
}
function uv_ip6_name(UVSockAddr $address)
{
}
function uv_tcp_init(UVLoop $loop = null)
{
}
function uv_udp_init(UVLoop $loop = null)
{
}
function uv_udp_bind(UVUdp $handle, UVSockAddr $address, int $flags = 0)
{
}
function uv_udp_bind6(UVUdp $handle, UVSockAddr $address, int $flags = 0)
{
}
function uv_udp_recv_start(UVUdp $handle, callable $callback)
{
}
function uv_udp_recv_stop(UVUdp $handle)
{
}
function uv_udp_set_membership(UVUdp $handle, string $multicast_addr, string $interface_addr, int $membership)
{
}
function uv_udp_set_multicast_loop(UVUdp $handle, bool $enabled)
{
}
function uv_udp_set_multicast_ttl(UVUdp $handle, int $ttl)
{
}
function uv_udp_set_broadcast(UVUdp $handle, bool $enabled)
{
}
function uv_udp_send(UVUdp $handle, string $data, UVSockAddr $uv_addr, callable $callback)
{
}
function uv_udp_send6(UVUdp $handle, string $data, UVSockAddrIPv6 $uv_addr6, callable $callback)
{
}
function uv_is_readable(UVStream $handle)
{
}
function uv_is_writable(UVStream $handle)
{
}
function uv_walk(UVLoop $loop, callable $closure, array $opaque = null)
{