From 227764a8033c773397bc997239bfad1f85ef40a5 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Sun, 16 Jan 2011 21:23:50 +0100 Subject: Made ssh_userauth_none nonblocking --- include/libssh/libssh.h | 1 + include/libssh/session.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 5a3505cc..2dbdb7eb 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -155,6 +155,7 @@ enum ssh_auth_e { SSH_AUTH_DENIED, SSH_AUTH_PARTIAL, SSH_AUTH_INFO, + SSH_AUTH_AGAIN, SSH_AUTH_ERROR=-1 }; diff --git a/include/libssh/session.h b/include/libssh/session.h index 3bbd0a8a..bcb4ed4a 100644 --- a/include/libssh/session.h +++ b/include/libssh/session.h @@ -53,7 +53,8 @@ enum ssh_dh_state_e { enum ssh_pending_call_e { SSH_PENDING_CALL_NONE = 0, - SSH_PENDING_CALL_CONNECT + SSH_PENDING_CALL_CONNECT, + SSH_PENDING_CALL_AUTH_NONE }; /* libssh calls may block an undefined amount of time */ -- cgit v1.2.3