1libssh2_session_banner_get(3)   libssh2 manual   libssh2_session_banner_get(3)
2
3
4

NAME

6       libssh2_session_banner_get - get the remote banner
7

SYNOPSIS

9       #include <libssh2.h>
10
11       const char *libssh2_session_banner_get(oLIBSSH2_SESSION *session);
12

DESCRIPTION

14       Once  the  session  has been setup and libssh2_session_handshake(3) has
15       completed successfully, this function can be used to get the server  id
16       from the banner each server presents.
17

RETURN VALUE

19       A  pointer to a string or NULL if something failed. The data pointed to
20       will be allocated and associated to the  session  handle  and  will  be
21       freed by libssh2 when libssh2_session_free(3) is used.
22

AVAILABILITY

24       Added in 1.4.0
25

SEE ALSO

27       libssh2_session_banner_set(3),    libssh2_session_handshake(3),    lib‐
28       ssh2_session_free(3)
29
30
31
32libssh2 1.4.0                     9 Sep 2011     libssh2_session_banner_get(3)
Impressum