|
libssh
0.7.3
|
Logging functions for debugging and problem resolving. More...
Enumerations | |
| enum | { SSH_LOG_NOLOG =0, SSH_LOG_WARNING, SSH_LOG_PROTOCOL, SSH_LOG_PACKET, SSH_LOG_FUNCTIONS } |
Functions | |
| ssh_logging_callback | ssh_get_log_callback (void) |
| Get the pointer to the logging callback function. More... | |
| int | ssh_get_log_level (void) |
| Get the log level of the library. More... | |
| void * | ssh_get_log_userdata (void) |
| Get the userdata of the logging function. More... | |
| int | ssh_set_log_callback (ssh_logging_callback cb) |
| Set the logging callback function. More... | |
| int | ssh_set_log_level (int level) |
| Set the log level of the library. More... | |
| int | ssh_set_log_userdata (void *data) |
| Set the userdata for the logging function. More... | |
Logging functions for debugging and problem resolving.
| anonymous enum |
| ssh_logging_callback ssh_get_log_callback | ( | void | ) |
Get the pointer to the logging callback function.
Referenced by ssh_set_callbacks().
| int ssh_get_log_level | ( | void | ) |
Get the log level of the library.
| void* ssh_get_log_userdata | ( | void | ) |
Get the userdata of the logging function.
| int ssh_set_log_callback | ( | ssh_logging_callback | cb | ) |
Set the logging callback function.
| [in] | cb | The callback to set. |
Referenced by ssh_set_callbacks().
| int ssh_set_log_level | ( | int | level | ) |
Set the log level of the library.
| [in] | level | The level to set. |
Referenced by ssh_options_getopt().
| int ssh_set_log_userdata | ( | void * | data | ) |
Set the userdata for the logging function.
| [in] | data | The userdata to set. |
Referenced by ssh_set_callbacks().
1.8.12