libssh2_trace.3 (1021B)
1.TH libssh2_trace 3 "26 Dec 2008" "libssh2 1.0" "libssh2" 2.SH NAME 3libssh2_trace - enable debug info from inside libssh2 4.SH SYNOPSIS 5.nf 6#include <libssh2.h> 7 8void 9libssh2_trace(LIBSSH2_SESSION *session, int bitmask); 10.fi 11.SH DESCRIPTION 12This is a function present in the library that can be used to get debug info 13from within libssh2 when it is running. Helpful when trying to trace or debug 14behaviors. Note that this function has no effect unless libssh2 was built to 15support tracing! It is usually disabled in release builds. 16 17\fBbitmask\fP can be set to the logical OR of none, one or more of these: 18.RS 19.IP LIBSSH2_TRACE_SOCKET 20Socket low-level debugging 21.IP LIBSSH2_TRACE_TRANS 22Transport layer debugging 23.IP LIBSSH2_TRACE_KEX 24Key exchange debugging 25.IP LIBSSH2_TRACE_AUTH 26Authentication debugging 27.IP LIBSSH2_TRACE_CONN 28Connection layer debugging 29.IP LIBSSH2_TRACE_SCP 30SCP debugging 31.IP LIBSSH2_TRACE_SFTP 32SFTP debugging 33.IP LIBSSH2_TRACE_ERROR 34Error debugging 35.IP LIBSSH2_TRACE_PUBLICKEY 36Public Key debugging 37.RE