libssh2_session_banner_get (3) - Linux Man Pages
libssh2_session_banner_get: get the remote banner
NAMElibssh2_session_banner_get - get the remote banner
DESCRIPTIONOnce the session has been setup and libssh2_session_handshake(3) has completed successfully, this function can be used to get the server id from the banner each server presents.
RETURN VALUEA pointer to a string or NULL if something failed. The data pointed to will be allocated and associated to the session handle and will be freed by libssh2 when libssh2_session_free(3) is used.
AVAILABILITYAdded in 1.4.0
SEE ALSOlibssh2_session_banner_set(3), libssh2_session_handshake(3), libssh2_session_free(3)
Linux man pages generated by: SysTutorials
Linux Man Pages Copyright Respective Owners. Site Copyright © SysTutorials. All Rights Reserved.