diff options
author | milo <milo@r0ot.me> | 2011-02-08 00:40:18 +0100 |
---|---|---|
committer | milo <milo@r0ot.me> | 2011-02-10 14:39:20 +0100 |
commit | 3c0a4781e49a4912e191b20ea8ccaeb884eb9dcd (patch) | |
tree | 12da3549867512351a797bfa571f841b1d214708 /include/libssh/server.h | |
parent | 32e23a25da4e7d23bdede1cee4cadc6c80306c23 (diff) | |
download | libssh-3c0a4781e49a4912e191b20ea8ccaeb884eb9dcd.tar.gz libssh-3c0a4781e49a4912e191b20ea8ccaeb884eb9dcd.tar.xz libssh-3c0a4781e49a4912e191b20ea8ccaeb884eb9dcd.zip |
Added the keyboard-interactive authentication method
Diffstat (limited to 'include/libssh/server.h')
-rw-r--r-- | include/libssh/server.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h index cd334c1d..8f67d26d 100644 --- a/include/libssh/server.h +++ b/include/libssh/server.h @@ -173,6 +173,7 @@ LIBSSH_API int ssh_message_reply_default(ssh_message msg); LIBSSH_API char *ssh_message_auth_user(ssh_message msg); LIBSSH_API char *ssh_message_auth_password(ssh_message msg); LIBSSH_API ssh_public_key ssh_message_auth_publickey(ssh_message msg); +LIBSSH_API int ssh_message_auth_kbdint_is_response(ssh_message msg); LIBSSH_API enum ssh_publickey_state_e ssh_message_auth_publickey_state(ssh_message msg); LIBSSH_API int ssh_message_auth_reply_success(ssh_message msg,int partial); LIBSSH_API int ssh_message_auth_reply_pk_ok(ssh_message msg, ssh_string algo, ssh_string pubkey); @@ -180,6 +181,10 @@ LIBSSH_API int ssh_message_auth_reply_pk_ok_simple(ssh_message msg); LIBSSH_API int ssh_message_auth_set_methods(ssh_message msg, int methods); +LIBSSH_API int ssh_message_auth_interactive_request(ssh_message msg, + const char *name, const char *instruction, + unsigned int num_prompts, const char **prompts, char *echo); + LIBSSH_API int ssh_message_service_reply_success(ssh_message msg); LIBSSH_API char *ssh_message_service_service(ssh_message msg); |