selector bugs

This commit is contained in:
Adam D. Ruppe 2016-02-27 13:20:02 -05:00
parent 0e2017e83a
commit c713cd6b63
30 changed files with 284 additions and 89 deletions

View file

@ -1,6 +1,6 @@
// Small wrapper for libssh2
// just link with it on Linux
// it'll need a couple dlls and a lib on windows.
/// Small wrapper for libssh2
/// just link with it on Linux
/// it'll need a couple dlls and a lib on windows.
module arsd.libssh2;
@ -181,4 +181,9 @@ extern(C) {
int libssh2_channel_wait_closed(LIBSSH2_CHANNEL *channel);
enum LIBSSH2_ERROR_EAGAIN = -37;
int libssh2_session_flag(LIBSSH2_SESSION*, int, int);
enum LIBSSH2_FLAG_SIGPIPE = 1;
enum LIBSSH2_FLAG_COMPRESS = 2;
}