mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
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:
committed by
Andreas Schneider
parent
569164740d
commit
096996501b
20
src/client.c
20
src/client.c
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user