client.c: Add documentation

Signed-off-by: Norbert Pocs <npocs@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
(cherry picked from commit 85f73a9bf6)
This commit is contained in:
Norbert Pocs
2022-09-29 11:11:09 +02:00
committed by Andreas Schneider
parent 569164740d
commit 096996501b

View File

@@ -314,8 +314,13 @@ static int ssh_service_request_termination(void *s)
}
/**
* @internal
* @addtogroup libssh_session
*
* @{
*/
/**
* @internal
* @brief Request a service from the SSH server.
*
* Service requests are for example: ssh-userauth, ssh-connection, etc.
@@ -376,12 +381,6 @@ pending:
return rc;
}
/**
* @addtogroup libssh_session
*
* @{
*/
/**
* @internal
*
@@ -834,6 +833,13 @@ error:
}
}
/**
* @brief Copyright information
*
* Returns copyright information
*
* @returns SSH_STRING copyright
*/
const char *ssh_copyright(void)
{
return SSH_STRINGIFY(LIBSSH_VERSION) " (c) 2003-2022 "