diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2012-07-17 17:53:07 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2012-07-17 18:04:55 +0200 |
commit | e8cebc2a374e1aa982a7c5eb8bef7a3e7419ed89 (patch) | |
tree | 36dbb9bef50ec5bc1b3af62864ada560160e8068 | |
parent | 8624651de32130cbc55ae03bdc0e4ccb6fa56bbc (diff) | |
download | libssh-e8cebc2a374e1aa982a7c5eb8bef7a3e7419ed89.tar.gz libssh-e8cebc2a374e1aa982a7c5eb8bef7a3e7419ed89.tar.xz libssh-e8cebc2a374e1aa982a7c5eb8bef7a3e7419ed89.zip |
auth: Fix ssh_userauth_kbdint*() documentation.
Thanks to Arto Karppinen.
-rw-r--r-- | src/auth.c | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -1913,8 +1913,9 @@ int ssh_userauth_kbdint(ssh_session session, const char *user, /** * @brief Get the number of prompts (questions) the server has given. * - * You have called ssh_userauth_kbdint() and got SSH_AUTH_INFO. This - * function returns the questions from the server. + * Once you have called ssh_userauth_kbdint() and received SSH_AUTH_INFO return + * code, this function can be used to retrieve information about the keyboard + * interactive authentication questions sent by the remote host. * * @param[in] session The ssh session to use. * @@ -1933,8 +1934,9 @@ int ssh_userauth_kbdint_getnprompts(ssh_session session) { /** * @brief Get the "name" of the message block. * - * You have called ssh_userauth_kbdint() and got SSH_AUTH_INFO. This - * function returns the questions from the server. + * Once you have called ssh_userauth_kbdint() and received SSH_AUTH_INFO return + * code, this function can be used to retrieve information about the keyboard + * interactive authentication questions sent by the remote host. * * @param[in] session The ssh session to use. * @@ -1953,8 +1955,9 @@ const char *ssh_userauth_kbdint_getname(ssh_session session) { /** * @brief Get the "instruction" of the message block. * - * You have called ssh_userauth_kbdint() and got SSH_AUTH_INFO. This - * function returns the questions from the server. + * Once you have called ssh_userauth_kbdint() and received SSH_AUTH_INFO return + * code, this function can be used to retrieve information about the keyboard + * interactive authentication questions sent by the remote host. * * @param[in] session The ssh session to use. * @@ -1974,8 +1977,9 @@ const char *ssh_userauth_kbdint_getinstruction(ssh_session session) { /** * @brief Get a prompt from a message block. * - * You have called ssh_userauth_kbdint() and got SSH_AUTH_INFO. This - * function returns the questions from the server. + * Once you have called ssh_userauth_kbdint() and received SSH_AUTH_INFO return + * code, this function can be used to retrieve information about the keyboard + * interactive authentication questions sent by the remote host. * * @param[in] session The ssh session to use. * |