1libssh2_session_flag(3)             libssh2            libssh2_session_flag(3)
2
3
4

NAME

6       libssh2_session_flag - TODO
7

SYNOPSIS

9       #include <libssh2.h>
10
11       int
12       libssh2_session_flag(LIBSSH2_SESSION *session, int flag, int value);
13

DESCRIPTION

15       Set  options  for the created session. flag is the option to set, while
16       value is typically set to 1 or 0 to enable or disable the option.
17

FLAGS

19       LIBSSH2_FLAG_SIGPIPE
20              If set, libssh2 will not attempt to block SIGPIPEs but will  let
21              them trigger from the underlying socket layer.
22
23       LIBSSH2_FLAG_COMPRESS
24              If  set  - before the connection negotiation is performed - lib‐
25              ssh2 will try to negotiate compression enabling for this connec‐
26              tion. By default libssh2 will not attempt to use compression.
27

RETURN VALUE

29       Returns regular libssh2 error code.
30

AVAILABILITY

32       This  function has existed since the age of dawn. LIBSSH2_FLAG_COMPRESS
33       was added in version 1.2.8.
34

SEE ALSO

36libssh2 0.15                      1 Jun 2007           libssh2_session_flag(3)
Impressum