Content-type: text/html Man page of libssh2_trace

libssh2_trace

Section: libssh2 manual (3)
Updated: 26 Dec 2008
Index Return to Main Contents
 

NAME

libssh2_trace - enable debug info from inside libssh2  

SYNOPSIS

#include <libssh2.h>

void libssh2_trace(int bitmask);

 

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.

bitmask can be set to none, one or more of these bits:

LIBSSH2_TRACE_TRANS
Transport layer debugging
LIBSSH2_TRACE_KEX
Key exchange debugging
LIBSSH2_TRACE_AUTH
Authentication debugging
LIBSSH2_TRACE_CONN
Connection layer debugging
LIBSSH2_TRACE_SCP
SCP debugging
LIBSSH2_TRACE_SFTP
SFTP debugging
LIBSSH2_TRACE_ERROR
Error debugging
LIBSSH2_TRACE_PUBLICKEY
Public Key debugging


 

Index

NAME
SYNOPSIS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 04:14:16 GMT, September 24, 2010