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

NAME

6       libssh2_trace - enable debug info from inside libssh2
7

SYNOPSIS

9       #include <libssh2.h>
10
11       void libssh2_trace(LIBSSH2_SESSION *session, int bitmask);
12
13

DESCRIPTION

15       This is a function present in the library that can be used to get debug
16       info from within libssh2 when it is running.  Helpful  when  trying  to
17       trace  or debug behaviors. Note that this function has no effect unless
18       libssh2 was built to support tracing! It is usually disabled in release
19       builds.
20
21       bitmask can be set to the logical OR of none, one or more of these:
22
23              LIBSSH2_TRACE_SOCKET
24                     Socket low-level debugging
25
26              LIBSSH2_TRACE_TRANS
27                     Transport layer debugging
28
29              LIBSSH2_TRACE_KEX
30                     Key exchange debugging
31
32              LIBSSH2_TRACE_AUTH
33                     Authentication debugging
34
35              LIBSSH2_TRACE_CONN
36                     Connection layer debugging
37
38              LIBSSH2_TRACE_SCP
39                     SCP debugging
40
41              LIBSSH2_TRACE_SFTP
42                     SFTP debugging
43
44              LIBSSH2_TRACE_ERROR
45                     Error debugging
46
47              LIBSSH2_TRACE_PUBLICKEY
48                     Public Key debugging
49
50
51
52libssh2 1.0                       26 Dec 2008                 libssh2_trace(3)
Impressum