1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-14 04:18:54 +03:00

Document that options set on a bind will be free'd by ssh_bind_free

Signed-off-by: James Wrigley <james@puiterwijk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
JamesWrigley
2023-12-05 17:55:25 +01:00
committed by Jakub Jelen
parent 8fbb12eddf
commit 804e283c8b
2 changed files with 5 additions and 1 deletions

View File

@@ -222,6 +222,9 @@ LIBSSH_API int ssh_server_init_kex(ssh_session session);
/**
* @brief Free a ssh servers bind.
*
* Note that this will also free options that have been set on the bind,
* including keys set with SSH_BIND_OPTIONS_IMPORT_KEY.
*
* @param ssh_bind_o The ssh server bind to free.
*/
LIBSSH_API void ssh_bind_free(ssh_bind ssh_bind_o);