mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
Reformat ssh_userauth_kbdint functions.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@644 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
@@ -1323,37 +1323,47 @@ int ssh_userauth_kbdint(SSH_SESSION *session, const char *user,
|
|||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** You have called ssh_userauth_kbdint() and got SSH_AUTH_INFO. this
|
/**
|
||||||
* function returns the questions from the server
|
* @brief Get the number of prompts (questions) the server has given.
|
||||||
* \brief get the number of prompts (questions) the server has given
|
*
|
||||||
* \param session ssh session
|
* You have called ssh_userauth_kbdint() and got SSH_AUTH_INFO. This
|
||||||
* \returns number of prompts
|
* function returns the questions from the server.
|
||||||
|
*
|
||||||
|
* @param session The ssh session to use.
|
||||||
|
*
|
||||||
|
* @returns The number of prompts.
|
||||||
*/
|
*/
|
||||||
|
int ssh_userauth_kbdint_getnprompts(SSH_SESSION *session) {
|
||||||
int ssh_userauth_kbdint_getnprompts(SSH_SESSION *session){
|
return session->kbdint->nprompts;
|
||||||
return session->kbdint->nprompts;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** You have called ssh_userauth_kbdint() and got SSH_AUTH_INFO. this
|
/**
|
||||||
* function returns the questions from the server
|
* @brief Get the "name" of the message block.
|
||||||
* \brief get the "name" of the message block
|
*
|
||||||
* \param session ssh session
|
* You have called ssh_userauth_kbdint() and got SSH_AUTH_INFO. This
|
||||||
* \returns name of the message block. Do not free it
|
* function returns the questions from the server.
|
||||||
|
*
|
||||||
|
* @param session The ssh session to use.
|
||||||
|
*
|
||||||
|
* @returns The name of the message block. Do not free it.
|
||||||
*/
|
*/
|
||||||
|
char *ssh_userauth_kbdint_getname(SSH_SESSION *session) {
|
||||||
char *ssh_userauth_kbdint_getname(SSH_SESSION *session){
|
return session->kbdint->name;
|
||||||
return session->kbdint->name;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** You have called ssh_userauth_kbdint() and got SSH_AUTH_INFO. this
|
/**
|
||||||
* function returns the questions from the server
|
* @brief Get the "instruction" of the message block.
|
||||||
* \brief get the "instruction" of the message block
|
*
|
||||||
* \param session ssh session
|
* You have called ssh_userauth_kbdint() and got SSH_AUTH_INFO. This
|
||||||
* \returns instruction of the message block
|
* function returns the questions from the server.
|
||||||
|
*
|
||||||
|
* @param session The ssh session to use.
|
||||||
|
*
|
||||||
|
* @returns The instruction of the message block.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char *ssh_userauth_kbdint_getinstruction(SSH_SESSION *session){
|
char *ssh_userauth_kbdint_getinstruction(SSH_SESSION *session) {
|
||||||
return session->kbdint->instruction;
|
return session->kbdint->instruction;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** You have called ssh_userauth_kbdint() and got SSH_AUTH_INFO. this
|
/** You have called ssh_userauth_kbdint() and got SSH_AUTH_INFO. this
|
||||||
|
|||||||
Reference in New Issue
Block a user