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

NAME

6       libssh2_session_flag - TODO
7

SYNOPSIS

9       int   libssh2_session_flag(LIBSSH2_SESSION   *session,  int  flag,  int
10       value);
11

DESCRIPTION

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

FLAGS

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

RETURN VALUE

27       Returns regular libssh2 error code.
28

AVAILABILITY

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

SEE ALSO

34libssh2 0.15                      1 Jun 2007           libssh2_session_flag(3)
Impressum