summaryrefslogtreecommitdiff
path: root/libssh2-sys
diff options
context:
space:
mode:
authorWez Furlong <wez@wezfurlong.org>2020-02-22 08:22:02 -0800
committerWez Furlong <wez@wezfurlong.org>2020-02-22 08:32:26 -0800
commite9ac51eee7070a4d2917a03260a83180e312726d (patch)
tree9657a488c7aab4f71827227c1706b423032fcf7d /libssh2-sys
parent057083ebfd9b422d71bd6c836037e34072bcd32b (diff)
downloadssh2-rs-e9ac51eee7070a4d2917a03260a83180e312726d.zip
Add Channel::request_auth_agent_forwarding
This method enables agent forwarding
Diffstat (limited to 'libssh2-sys')
-rw-r--r--libssh2-sys/Cargo.toml2
-rw-r--r--libssh2-sys/lib.rs1
2 files changed, 2 insertions, 1 deletions
diff --git a/libssh2-sys/Cargo.toml b/libssh2-sys/Cargo.toml
index 3a281f1..ba06024 100644
--- a/libssh2-sys/Cargo.toml
+++ b/libssh2-sys/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "libssh2-sys"
-version = "0.2.14"
+version = "0.2.15"
authors = ["Alex Crichton <alex@alexcrichton.com>", "Wez Furlong <wez@wezfurlong.org>"]
links = "ssh2"
build = "build.rs"
diff --git a/libssh2-sys/lib.rs b/libssh2-sys/lib.rs
index 0017781..d1f6767 100644
--- a/libssh2-sys/lib.rs
+++ b/libssh2-sys/lib.rs
@@ -490,6 +490,7 @@ extern "C" {
channel: *mut LIBSSH2_CHANNEL,
mode: c_int,
) -> c_int;
+ pub fn libssh2_channel_request_auth_agent(channel: *mut LIBSSH2_CHANNEL) -> c_int;
// userauth
pub fn libssh2_userauth_authenticated(sess: *mut LIBSSH2_SESSION) -> c_int;