diff options
author | Mike Harris <harmic@gmail.com> | 2021-02-02 03:58:47 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-01 16:58:47 +0000 |
commit | 459296d0e21fbbfd77a60a8341194e5c39a66d6f (patch) | |
tree | 8e80ceedede29c28af819fe18bb2a2e15879c657 /src/lib.rs | |
parent | 1fcf8d38d401b230561863d1e40fd41d76e8601c (diff) | |
download | ssh2-rs-459296d0e21fbbfd77a60a8341194e5c39a66d6f.zip |
Expose libssh2_trace function (#209)
* Expose libssh2_trace function and associated
constants, to allow enabling libssh2 trace
output.
* set LIBSSH2_WIN32 on windows build so that
gettimeofday replacement will be compiled.
* libssh2_trace actually returns int, even though
the documentation says it returns void. This
was causing systest to fail.
Changed the FFI to match the C function.
Co-authored-by: eharmic <michael.harris@ericsson.com>
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -233,7 +233,7 @@ pub use error::{Error, ErrorCode}; pub use knownhosts::{Host, KnownHosts}; pub use listener::Listener; use session::SessionInner; -pub use session::{BlockDirections, KeyboardInteractivePrompt, Prompt, ScpFileStat, Session}; +pub use session::{BlockDirections, KeyboardInteractivePrompt, Prompt, ScpFileStat, Session, TraceFlags}; pub use sftp::{File, FileStat, FileType, OpenType}; pub use sftp::{OpenFlags, RenameFlags, Sftp}; pub use DisconnectCode::{AuthCancelledByUser, TooManyConnections}; |