We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
session_handshake
macos
posix
1 parent f1d5bf0 commit 2ca9128Copy full SHA for 2ca9128
libssh2.nim
@@ -560,12 +560,10 @@ proc session_get_blocking*(s: Session): cint {.ssh2.}
560
561
proc session_get_timeout*(s: Session): clong {.ssh2.}
562
563
-when defined(linux):
564
-
+when defined(posix):
565
proc session_handshake*(s: Session, fd: posix.SocketHandle): cint {.ssh2.}
566
567
when defined(windows):
568
569
proc session_handshake*(s: Session, fd: winlean.SocketHandle): cint {.ssh2.}
570
571
proc session_hostkey*(s: Session, length, typ: var int): cstring {.ssh2.}
libssh2.nimble
@@ -1,6 +1,6 @@
1
[Package]
2
name = "libssh2"
3
-version = "0.1.7"
+version = "0.1.8"
4
author = "Huy Doan"
5
description = "Nim wrapper for libssh2"
6
license = "MIT"
0 commit comments