aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authormilo <milo@r0ot.me>2011-02-08 00:40:18 +0100
committermilo <milo@r0ot.me>2011-02-10 14:39:20 +0100
commit3c0a4781e49a4912e191b20ea8ccaeb884eb9dcd (patch)
tree12da3549867512351a797bfa571f841b1d214708 /include/libssh/libssh.h
parent32e23a25da4e7d23bdede1cee4cadc6c80306c23 (diff)
downloadlibssh-3c0a4781e49a4912e191b20ea8ccaeb884eb9dcd.tar.gz
libssh-3c0a4781e49a4912e191b20ea8ccaeb884eb9dcd.tar.xz
libssh-3c0a4781e49a4912e191b20ea8ccaeb884eb9dcd.zip
Added the keyboard-interactive authentication method
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index a215c31..5430786 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -446,6 +446,8 @@ LIBSSH_API const char *ssh_userauth_kbdint_getinstruction(ssh_session session);
LIBSSH_API const char *ssh_userauth_kbdint_getname(ssh_session session);
LIBSSH_API int ssh_userauth_kbdint_getnprompts(ssh_session session);
LIBSSH_API const char *ssh_userauth_kbdint_getprompt(ssh_session session, unsigned int i, char *echo);
+LIBSSH_API int ssh_userauth_kbdint_getnanswers(ssh_session session);
+LIBSSH_API const char *ssh_userauth_kbdint_getanswer(ssh_session session, unsigned int i);
LIBSSH_API int ssh_userauth_kbdint_setanswer(ssh_session session, unsigned int i,
const char *answer);
LIBSSH_API int ssh_userauth_list(ssh_session session, const char *username);