libssh2_trace.3 1021 B

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