summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-04-21 07:52:46 +0200
committerRemi Collet <remi@php.net>2023-04-21 07:52:46 +0200
commitd4264671d6819f741077ccdffe00b9a1d132843b (patch)
treeea0608f983422f9251979b4d8d6145a3d7b56a82 /REFLECTION
parent5f7f7c3a0a06d00eda99e635cb29dda42d2c86ad (diff)
update to 1.4
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION74
1 files changed, 46 insertions, 28 deletions
diff --git a/REFLECTION b/REFLECTION
index 1f040fa..56976ff 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #121 ssh2 version 1.3.1 ] {
+Extension [ <persistent> extension #122 ssh2 version 1.4 ] {
- Constants [21] {
Constant [ int SSH2_FINGERPRINT_MD5 ] { 0 }
@@ -29,9 +29,9 @@ Extension [ <persistent> extension #121 ssh2 version 1.3.1 ] {
- Parameters [4] {
Parameter #0 [ <required> $host ]
- Parameter #1 [ <optional> $port ]
- Parameter #2 [ <optional> $methods ]
- Parameter #3 [ <optional> $callbacks ]
+ Parameter #1 [ <optional> $port = <default> ]
+ Parameter #2 [ <optional> $methods = <default> ]
+ Parameter #3 [ <optional> $callbacks = <default> ]
}
}
Function [ <internal:ssh2> function ssh2_disconnect ] {
@@ -50,7 +50,7 @@ Extension [ <persistent> extension #121 ssh2 version 1.3.1 ] {
- Parameters [2] {
Parameter #0 [ <required> $session ]
- Parameter #1 [ <optional> $flags ]
+ Parameter #1 [ <optional> $flags = <default> ]
}
}
Function [ <internal:ssh2> function ssh2_auth_none ] {
@@ -75,7 +75,17 @@ Extension [ <persistent> extension #121 ssh2 version 1.3.1 ] {
Parameter #1 [ <required> $username ]
Parameter #2 [ <required> $pubkeyfile ]
Parameter #3 [ <required> $privkeyfile ]
- Parameter #4 [ <optional> $passphrase ]
+ Parameter #4 [ <optional> $passphrase = <default> ]
+ }
+ }
+ Function [ <internal:ssh2> function ssh2_auth_pubkey ] {
+
+ - Parameters [5] {
+ Parameter #0 [ <required> $session ]
+ Parameter #1 [ <required> $username ]
+ Parameter #2 [ <required> $pubkey ]
+ Parameter #3 [ <required> $privkey ]
+ Parameter #4 [ <optional> $passphrase = <default> ]
}
}
Function [ <internal:ssh2> function ssh2_auth_hostbased_file ] {
@@ -86,8 +96,8 @@ Extension [ <persistent> extension #121 ssh2 version 1.3.1 ] {
Parameter #2 [ <required> $hostname ]
Parameter #3 [ <required> $pubkeyfile ]
Parameter #4 [ <required> $privkeyfile ]
- Parameter #5 [ <optional> $passphrase ]
- Parameter #6 [ <optional> $local_username ]
+ Parameter #5 [ <optional> $passphrase = <default> ]
+ Parameter #6 [ <optional> $local_username = <default> ]
}
}
Function [ <internal:ssh2> function ssh2_forward_listen ] {
@@ -95,27 +105,27 @@ Extension [ <persistent> extension #121 ssh2 version 1.3.1 ] {
- Parameters [4] {
Parameter #0 [ <required> $session ]
Parameter #1 [ <required> $port ]
- Parameter #2 [ <optional> $host ]
- Parameter #3 [ <optional> $max_connections ]
+ Parameter #2 [ <optional> $host = <default> ]
+ Parameter #3 [ <optional> $max_connections = <default> ]
}
}
Function [ <internal:ssh2> function ssh2_forward_accept ] {
- Parameters [3] {
Parameter #0 [ <required> $listener ]
- Parameter #1 [ <optional> &$host ]
- Parameter #2 [ <optional> $port ]
+ Parameter #1 [ <optional> &$host = <default> ]
+ Parameter #2 [ <optional> $port = <default> ]
}
}
Function [ <internal:ssh2> function ssh2_shell ] {
- Parameters [6] {
Parameter #0 [ <required> $session ]
- Parameter #1 [ <optional> $termtype ]
- Parameter #2 [ <optional> $env ]
- Parameter #3 [ <optional> $width ]
- Parameter #4 [ <optional> $height ]
- Parameter #5 [ <optional> $width_height_type ]
+ Parameter #1 [ <optional> $termtype = <default> ]
+ Parameter #2 [ <optional> $env = <default> ]
+ Parameter #3 [ <optional> $width = <default> ]
+ Parameter #4 [ <optional> $height = <default> ]
+ Parameter #5 [ <optional> $width_height_type = <default> ]
}
}
Function [ <internal:ssh2> function ssh2_exec ] {
@@ -123,11 +133,11 @@ Extension [ <persistent> extension #121 ssh2 version 1.3.1 ] {
- Parameters [7] {
Parameter #0 [ <required> $session ]
Parameter #1 [ <required> $command ]
- Parameter #2 [ <optional> $pty ]
- Parameter #3 [ <optional> $env ]
- Parameter #4 [ <optional> $width ]
- Parameter #5 [ <optional> $height ]
- Parameter #6 [ <optional> $width_height_type ]
+ Parameter #2 [ <optional> $pty = <default> ]
+ Parameter #3 [ <optional> $env = <default> ]
+ Parameter #4 [ <optional> $width = <default> ]
+ Parameter #5 [ <optional> $height = <default> ]
+ Parameter #6 [ <optional> $width_height_type = <default> ]
}
}
Function [ <internal:ssh2> function ssh2_tunnel ] {
@@ -152,7 +162,7 @@ Extension [ <persistent> extension #121 ssh2 version 1.3.1 ] {
Parameter #0 [ <required> $session ]
Parameter #1 [ <required> $local_file ]
Parameter #2 [ <required> $remote_file ]
- Parameter #3 [ <optional> $create_mode ]
+ Parameter #3 [ <optional> $create_mode = <default> ]
}
}
Function [ <internal:ssh2> function ssh2_fetch_stream ] {
@@ -166,7 +176,7 @@ Extension [ <persistent> extension #121 ssh2 version 1.3.1 ] {
- Parameters [2] {
Parameter #0 [ <required> &$polldes ]
- Parameter #1 [ <optional> $timeout ]
+ Parameter #1 [ <optional> $timeout = <default> ]
}
}
Function [ <internal:ssh2> function ssh2_send_eof ] {
@@ -175,6 +185,14 @@ Extension [ <persistent> extension #121 ssh2 version 1.3.1 ] {
Parameter #0 [ <required> $channel ]
}
}
+ Function [ <internal:ssh2> function ssh2_shell_resize ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $session ]
+ Parameter #1 [ <required> $width ]
+ Parameter #2 [ <required> $height ]
+ }
+ }
Function [ <internal:ssh2> function ssh2_sftp ] {
- Parameters [1] {
@@ -201,8 +219,8 @@ Extension [ <persistent> extension #121 ssh2 version 1.3.1 ] {
- Parameters [4] {
Parameter #0 [ <required> $sftp ]
Parameter #1 [ <required> $dirname ]
- Parameter #2 [ <optional> $mode ]
- Parameter #3 [ <optional> $recursive ]
+ Parameter #2 [ <optional> $mode = <default> ]
+ Parameter #3 [ <optional> $recursive = <default> ]
}
}
Function [ <internal:ssh2> function ssh2_sftp_rmdir ] {
@@ -268,8 +286,8 @@ Extension [ <persistent> extension #121 ssh2 version 1.3.1 ] {
Parameter #0 [ <required> $pkey ]
Parameter #1 [ <required> $algoname ]
Parameter #2 [ <required> $blob ]
- Parameter #3 [ <optional> $overwrite ]
- Parameter #4 [ <optional> $attributes ]
+ Parameter #3 [ <optional> $overwrite = <default> ]
+ Parameter #4 [ <optional> $attributes = <default> ]
}
}
Function [ <internal:ssh2> function ssh2_publickey_remove ] {