diff options
author | bold <bold@cryptoguru.com> | 2019-12-26 16:06:18 +0100 |
---|---|---|
committer | Wez Furlong <wez@wezfurlong.org> | 2020-01-03 22:02:46 -0800 |
commit | b7532e93a4a31b96fff2348e292f10aec89014cd (patch) | |
tree | 89a63f98c5cf46876f52ec8306542a33b8834a61 /libssh2-sys | |
parent | dcedc9056d2a0681027b795393fca111b5cd03aa (diff) | |
download | ssh2-rs-b7532e93a4a31b96fff2348e292f10aec89014cd.zip |
export block directions
Diffstat (limited to 'libssh2-sys')
-rw-r--r-- | libssh2-sys/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libssh2-sys/lib.rs b/libssh2-sys/lib.rs index 3c73afb..ed10da5 100644 --- a/libssh2-sys/lib.rs +++ b/libssh2-sys/lib.rs @@ -185,6 +185,9 @@ pub const LIBSSH2_CHANNEL_EXTENDED_DATA_NORMAL: c_int = 0; pub const LIBSSH2_CHANNEL_EXTENDED_DATA_IGNORE: c_int = 1; pub const LIBSSH2_CHANNEL_EXTENDED_DATA_MERGE: c_int = 2; +pub const LIBSSH2_SESSION_BLOCK_INBOUND: c_int = 1; +pub const LIBSSH2_SESSION_BLOCK_OUTBOUND: c_int = 2; + pub enum LIBSSH2_SESSION {} pub enum LIBSSH2_AGENT {} pub enum LIBSSH2_CHANNEL {} @@ -362,6 +365,7 @@ extern "C" { ); pub fn libssh2_keepalive_send(sess: *mut LIBSSH2_SESSION, seconds_to_next: *mut c_int) -> c_int; + pub fn libssh2_session_block_directions(sess: *mut LIBSSH2_SESSION) -> c_int; // agent pub fn libssh2_agent_init(sess: *mut LIBSSH2_SESSION) -> *mut LIBSSH2_AGENT; |