diff --git a/README.md b/README.md index f3d97c0..940cf96 100644 --- a/README.md +++ b/README.md @@ -164,10 +164,11 @@ The state resource should be released when you're done with it by passing it to ### smbclient_client_protocols ```php -bool smbclient_client_protocols ( resource $state, string $min_protocol, string $max_protocol ) +bool smbclient_client_protocols ( resource $state, string $min_protocol = null, string $max_protocol = null ) ``` Sets the minimum and maximum protocols (client min protocol and client max protocol) for negotiation. +Either can be set to null. Returns `true` on success, `false` on failure. ### smbclient_option_set diff --git a/package.xml b/package.xml index c0067c1..bbfc08e 100644 --- a/package.xml +++ b/package.xml @@ -22,10 +22,10 @@ remi@php.net yes - 2021-01-20 + 2021-01-21 - 1.0.2 + 1.0.3 0.8.0 @@ -34,7 +34,7 @@ BSD 2-clause ---- Introduces smbclient_client_protocols() to set min and max protocol for negotiation. + Add client min/max protocol to streams, and make either min/max optional. @@ -82,6 +82,21 @@ smbclient + + 2021-01-21 + + 1.0.3 + 0.8.0 + + + stable + stable + + BSD 2-clause + + - Add client min/max protocol to streams, and make either min/max optional. + + 2021-01-20 diff --git a/php_smbclient.h b/php_smbclient.h index 345b7c7..8c72c24 100644 --- a/php_smbclient.h +++ b/php_smbclient.h @@ -43,7 +43,7 @@ #include -#define PHP_SMBCLIENT_VERSION "1.0.2" +#define PHP_SMBCLIENT_VERSION "1.0.3" extern zend_module_entry smbclient_module_entry; #define phpext_smbclient_ptr &smbclient_module_entry