Add new ssh2_disconnect stub

This commit is contained in:
Alexander Over 2018-09-26 16:56:26 +02:00
parent eae9c1b5b5
commit b7353d6326
No known key found for this signature in database
GPG Key ID: 90323B1C3679775A
1 changed files with 12 additions and 0 deletions

View File

@ -177,6 +177,18 @@
*/
function ssh2_connect ($host, $port = null, array $methods = null , array $callbacks = null ) {}
/**
* (PECL ssh2 &gt;= 1.0)<br/>
* Close a connection to a remote SSH server
* @link http://php.net/manual/en/function.ssh2-disconnect.php
* @param resource $session <p>
* An SSH connection link identifier, obtained from a call to
* ssh2_connect.
* </p>
* return bool
*/
function ssh2_disconnect ($session) {}
/**
* (PECL ssh2 &gt;= 0.9.0)<br/>
* Return list of negotiated methods