36 lines
991 B
Groff
36 lines
991 B
Groff
.\" $Id: libssh2_trace.3,v 1.1 2008/12/26 07:46:45 bagder Exp $
|
|
.\"
|
|
.TH libssh2_trace 3 "26 Dec 2008" "libssh2 1.0" "libssh2 manual"
|
|
.SH NAME
|
|
libssh2_trace - enable debug info from inside libssh2
|
|
.SH SYNOPSIS
|
|
#include <libssh2.h>
|
|
|
|
void libssh2_trace(int bitmask);
|
|
|
|
.SH DESCRIPTION
|
|
This is a function present in the library that can be used to get debug info
|
|
from within libssh2 when it is running. Helpful when trying to trace or debug
|
|
behaviors. This function has no effect unless libssh2 was built to support
|
|
this option, and a typical "release build" might not.
|
|
|
|
\fBbitmask\fP can be set to none, one or more of these bits:
|
|
.RS
|
|
.IP LIBSSH2_TRACE_TRANS
|
|
Transport layer debugging
|
|
.IP LIBSSH2_TRACE_KEX
|
|
Key exchange debugging
|
|
.IP LIBSSH2_TRACE_AUTH
|
|
Authentication debugging
|
|
.IP LIBSSH2_TRACE_CONN
|
|
Connection layer debugging
|
|
.IP LIBSSH2_TRACE_SCP
|
|
SCP debugging
|
|
.IP LIBSSH2_TRACE_SFTP
|
|
SFTP debugging
|
|
.IP LIBSSH2_TRACE_ERROR
|
|
Error debugging
|
|
.IP LIBSSH2_TRACE_PUBLICKEY
|
|
Public Key debugging
|
|
.RE
|