aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2011-01-16 21:23:50 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2011-01-16 23:42:19 +0100
commit227764a8033c773397bc997239bfad1f85ef40a5 (patch)
tree3b9f240cfbeef8603dd607fd4a56c13641b79d6f /include/libssh
parent624676b1cc8dbd44e21c6644a2e5dddec5eb2104 (diff)
downloadlibssh-227764a8033c773397bc997239bfad1f85ef40a5.tar.gz
libssh-227764a8033c773397bc997239bfad1f85ef40a5.tar.xz
libssh-227764a8033c773397bc997239bfad1f85ef40a5.zip
Made ssh_userauth_none nonblocking
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/libssh.h1
-rw-r--r--include/libssh/session.h3
2 files changed, 3 insertions, 1 deletions
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 */