1libssh2_session_banner_get(3)       libssh2      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 *
12       libssh2_session_banner_get(oLIBSSH2_SESSION *session);
13

DESCRIPTION

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

RETURN VALUE

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

AVAILABILITY

25       Added in 1.4.0
26

SEE ALSO

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