From ad9e3332941afa15ea475661b66333a62526a40a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 13 Nov 2016 17:41:55 +0100 Subject: php-pecl-dio: dup the spec --- REFLECTION-DEV | 138 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 REFLECTION-DEV (limited to 'REFLECTION-DEV') diff --git a/REFLECTION-DEV b/REFLECTION-DEV new file mode 100644 index 0000000..9420c91 --- /dev/null +++ b/REFLECTION-DEV @@ -0,0 +1,138 @@ +Extension [ extension #80 dio version 0.0.7 ] { + + - Constants [36] { + Constant [ integer O_RDONLY ] { 0 } + Constant [ integer O_WRONLY ] { 1 } + Constant [ integer O_RDWR ] { 2 } + Constant [ integer O_CREAT ] { 64 } + Constant [ integer O_EXCL ] { 128 } + Constant [ integer O_TRUNC ] { 512 } + Constant [ integer O_APPEND ] { 1024 } + Constant [ integer O_NONBLOCK ] { 2048 } + Constant [ integer O_NDELAY ] { 2048 } + Constant [ integer O_SYNC ] { 1052672 } + Constant [ integer O_ASYNC ] { 8192 } + Constant [ integer O_NOCTTY ] { 256 } + Constant [ integer S_IRWXU ] { 448 } + Constant [ integer S_IRUSR ] { 256 } + Constant [ integer S_IWUSR ] { 128 } + Constant [ integer S_IXUSR ] { 64 } + Constant [ integer S_IRWXG ] { 56 } + Constant [ integer S_IRGRP ] { 32 } + Constant [ integer S_IWGRP ] { 16 } + Constant [ integer S_IXGRP ] { 8 } + Constant [ integer S_IRWXO ] { 7 } + Constant [ integer S_IROTH ] { 4 } + Constant [ integer S_IWOTH ] { 2 } + Constant [ integer S_IXOTH ] { 1 } + Constant [ integer F_DUPFD ] { 0 } + Constant [ integer F_GETFD ] { 1 } + Constant [ integer F_GETFL ] { 3 } + Constant [ integer F_SETFL ] { 4 } + Constant [ integer F_GETLK ] { 5 } + Constant [ integer F_SETLK ] { 6 } + Constant [ integer F_SETLKW ] { 7 } + Constant [ integer F_SETOWN ] { 8 } + Constant [ integer F_GETOWN ] { 9 } + Constant [ integer F_UNLCK ] { 2 } + Constant [ integer F_RDLCK ] { 0 } + Constant [ integer F_WRLCK ] { 1 } + } + + - Functions { + Function [ function dio_open ] { + + - Parameters [3] { + Parameter #0 [ $filename ] + Parameter #1 [ $flags ] + Parameter #2 [ $mode ] + } + } + Function [ function dio_fdopen ] { + + - Parameters [1] { + Parameter #0 [ $fd ] + } + } + Function [ function dio_dup ] { + + - Parameters [1] { + Parameter #0 [ $fd ] + } + } + Function [ function dio_truncate ] { + + - Parameters [2] { + Parameter #0 [ $fd ] + Parameter #1 [ $offset ] + } + } + Function [ function dio_stat ] { + + - Parameters [1] { + Parameter #0 [ $fd ] + } + } + Function [ function dio_seek ] { + + - Parameters [3] { + Parameter #0 [ $fd ] + Parameter #1 [ $pos ] + Parameter #2 [ $whence ] + } + } + Function [ function dio_fcntl ] { + + - Parameters [3] { + Parameter #0 [ $fd ] + Parameter #1 [ $cmd ] + Parameter #2 [ $arg ] + } + } + Function [ function dio_read ] { + + - Parameters [2] { + Parameter #0 [ $fd ] + Parameter #1 [ $n ] + } + } + Function [ function dio_write ] { + + - Parameters [3] { + Parameter #0 [ $fd ] + Parameter #1 [ $data ] + Parameter #2 [ $len ] + } + } + Function [ function dio_close ] { + + - Parameters [1] { + Parameter #0 [ $fd ] + } + } + Function [ function dio_tcsetattr ] { + + - Parameters [2] { + Parameter #0 [ $fd ] + Parameter #1 [ $args ] + } + } + Function [ function dio_raw ] { + + - Parameters [3] { + Parameter #0 [ $filename ] + Parameter #1 [ $mode ] + Parameter #2 [ $options ] + } + } + Function [ function dio_serial ] { + + - Parameters [3] { + Parameter #0 [ $filename ] + Parameter #1 [ $mode ] + Parameter #2 [ $options ] + } + } + } +} + -- cgit