diff options
author | Remi Collet <remi@remirepo.net> | 2021-03-02 07:14:18 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-03-02 07:14:18 +0100 |
commit | 9923083e1c78c36b136c4569aa81f4d3b4a9b69a (patch) | |
tree | 7269b8cddc231ac88323d87921098918716341b6 /REFLECTION | |
parent | f80ab1dc33166b61c8e5f4938b956003641f835d (diff) |
update to 1.3
drop patch merged upstream
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 64 |
1 files changed, 42 insertions, 22 deletions
@@ -1,27 +1,27 @@ -Extension [ <persistent> extension #148 ssh2 version 1.2 ] { +Extension [ <persistent> extension #120 ssh2 version 1.3 ] { - Constants [21] { - Constant [ integer SSH2_FINGERPRINT_MD5 ] { 0 } - Constant [ integer SSH2_FINGERPRINT_SHA1 ] { 1 } - Constant [ integer SSH2_FINGERPRINT_HEX ] { 0 } - Constant [ integer SSH2_FINGERPRINT_RAW ] { 2 } - Constant [ integer SSH2_TERM_UNIT_CHARS ] { 0 } - Constant [ integer SSH2_TERM_UNIT_PIXELS ] { 1 } + Constant [ int SSH2_FINGERPRINT_MD5 ] { 0 } + Constant [ int SSH2_FINGERPRINT_SHA1 ] { 1 } + Constant [ int SSH2_FINGERPRINT_HEX ] { 0 } + Constant [ int SSH2_FINGERPRINT_RAW ] { 2 } + Constant [ int SSH2_TERM_UNIT_CHARS ] { 0 } + Constant [ int SSH2_TERM_UNIT_PIXELS ] { 1 } Constant [ string SSH2_DEFAULT_TERMINAL ] { vanilla } - Constant [ integer SSH2_DEFAULT_TERM_WIDTH ] { 80 } - Constant [ integer SSH2_DEFAULT_TERM_HEIGHT ] { 25 } - Constant [ integer SSH2_DEFAULT_TERM_UNIT ] { 0 } - Constant [ integer SSH2_STREAM_STDIO ] { 0 } - Constant [ integer SSH2_STREAM_STDERR ] { 1 } - Constant [ integer SSH2_POLLIN ] { 1 } - Constant [ integer SSH2_POLLEXT ] { 2 } - Constant [ integer SSH2_POLLOUT ] { 4 } - Constant [ integer SSH2_POLLERR ] { 8 } - Constant [ integer SSH2_POLLHUP ] { 16 } - Constant [ integer SSH2_POLLNVAL ] { 32 } - Constant [ integer SSH2_POLL_SESSION_CLOSED ] { 16 } - Constant [ integer SSH2_POLL_CHANNEL_CLOSED ] { 128 } - Constant [ integer SSH2_POLL_LISTENER_CLOSED ] { 128 } + Constant [ int SSH2_DEFAULT_TERM_WIDTH ] { 80 } + Constant [ int SSH2_DEFAULT_TERM_HEIGHT ] { 25 } + Constant [ int SSH2_DEFAULT_TERM_UNIT ] { 0 } + Constant [ int SSH2_STREAM_STDIO ] { 0 } + Constant [ int SSH2_STREAM_STDERR ] { 1 } + Constant [ int SSH2_POLLIN ] { 1 } + Constant [ int SSH2_POLLEXT ] { 2 } + Constant [ int SSH2_POLLOUT ] { 4 } + Constant [ int SSH2_POLLERR ] { 8 } + Constant [ int SSH2_POLLHUP ] { 16 } + Constant [ int SSH2_POLLNVAL ] { 32 } + Constant [ int SSH2_POLL_SESSION_CLOSED ] { 16 } + Constant [ int SSH2_POLL_CHANNEL_CLOSED ] { 128 } + Constant [ int SSH2_POLL_LISTENER_CLOSED ] { 128 } } - Functions { @@ -91,8 +91,21 @@ Extension [ <persistent> extension #148 ssh2 version 1.2 ] { } } Function [ <internal:ssh2> function ssh2_forward_listen ] { + + - Parameters [4] { + Parameter #0 [ <required> $session ] + Parameter #1 [ <required> $port ] + Parameter #2 [ <optional> $host ] + Parameter #3 [ <optional> $max_connections ] + } } Function [ <internal:ssh2> function ssh2_forward_accept ] { + + - Parameters [3] { + Parameter #0 [ <required> $listener ] + Parameter #1 [ <optional> &$host ] + Parameter #2 [ <optional> $port ] + } } Function [ <internal:ssh2> function ssh2_shell ] { @@ -151,8 +164,15 @@ Extension [ <persistent> extension #148 ssh2 version 1.2 ] { } Function [ <internal:ssh2> function ssh2_poll ] { + - Parameters [2] { + Parameter #0 [ <required> &$polldes ] + Parameter #1 [ <optional> $timeout ] + } + } + Function [ <internal:ssh2> function ssh2_send_eof ] { + - Parameters [1] { - Parameter #0 [ <required> &$param0 ] + Parameter #0 [ <required> $channel ] } } Function [ <internal:ssh2> function ssh2_sftp ] { |