1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-05 20:55:47 +03:00

new function: libssh2_session_banner_get

Returns the banner from the server handshake

Fixes #226
This commit is contained in:
Daniel Stenberg
2011-09-09 22:59:26 +02:00
parent a6ebc6f9fd
commit f2c21f6f84
4 changed files with 37 additions and 0 deletions

View File

@@ -487,6 +487,7 @@ LIBSSH2_API int libssh2_session_block_directions(LIBSSH2_SESSION *session);
LIBSSH2_API int libssh2_session_flag(LIBSSH2_SESSION *session, int flag,
int value);
LIBSSH2_API const char *libssh2_session_banner_get(LIBSSH2_SESSION *session);
/* Userauth API */
LIBSSH2_API char *libssh2_userauth_list(LIBSSH2_SESSION *session,