Skip to content

ssh2: document five previously undocumented functions#5688

Open
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-src/ssh2-missing-functions
Open

ssh2: document five previously undocumented functions#5688
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-src/ssh2-missing-functions

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Adds reference pages for five functions registered by the ssh2 extension that had no documentation, and registers them in versions.xml.

  • ssh2_keepalive_config, ssh2_keepalive_send (PECL ssh2 >= 1.5.0)
  • ssh2_send_signal (PECL ssh2 >= 1.5.0)
  • ssh2_set_timeout (PECL ssh2 >= 1.5.0)
  • ssh2_shell_resize (PECL ssh2 >= 1.4)

Signatures, parameter types, return values and libssh availability requirements were derived from the ssh2 1.5.0 C sources and config.m4; introduction versions from the extension changelog. Pages follow the style of the existing ssh2 function pages.

Add reference pages for functions that are registered by the ssh2
extension but had no documentation, and register them in versions.xml:

- ssh2_keepalive_config / ssh2_keepalive_send (PECL ssh2 >= 1.5.0)
- ssh2_send_signal (PECL ssh2 >= 1.5.0)
- ssh2_set_timeout (PECL ssh2 >= 1.5.0)
- ssh2_shell_resize (PECL ssh2 >= 1.4)

Signatures, parameter types (session vs channel/shell stream), return
values and libssh availability requirements were taken from the ssh2
1.5.0 C sources and config.m4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant