diff options
author | Matteo Bigoi <bigo@crisidev.org> | 2020-11-22 17:16:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-22 17:16:40 +0000 |
commit | c197df7df4045abdc2d4e8077781249dd83dbdd1 (patch) | |
tree | acac6348029eef9c6fc67adf45cd87755117679a /libssh2-sys/lib.rs | |
parent | 1c5bc43ace2c32f37dfc6a308d8b6d687c2dc860 (diff) | |
download | ssh2-rs-c197df7df4045abdc2d4e8077781249dd83dbdd1.zip |
Handle more precise SFTP error codes (#203)
* Handle more precise SFTP error codes
* Allow set-env in macos github action
* Bump to 0.9 since the Error interface has changed, hence this is a breaking change
Diffstat (limited to 'libssh2-sys/lib.rs')
-rw-r--r-- | libssh2-sys/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh2-sys/lib.rs b/libssh2-sys/lib.rs index d1f6767..ad36642 100644 --- a/libssh2-sys/lib.rs +++ b/libssh2-sys/lib.rs @@ -350,6 +350,7 @@ extern "C" { method_type: c_int, algs: *mut *mut *const c_char, ) -> c_int; + pub fn libssh2_session_last_errno(sess: *mut LIBSSH2_SESSION) -> c_int; pub fn libssh2_session_last_error( sess: *mut LIBSSH2_SESSION, msg: *mut *mut c_char, |