libssh
0.7
|
Functions for error handling. More...
Functions | |
const char * | ssh_get_error (void *error) |
Retrieve the error text message from the last error. More... | |
int | ssh_get_error_code (void *error) |
Retrieve the error code from the last error. More... | |
Functions for error handling.
const char* ssh_get_error | ( | void * | error | ) |
Retrieve the error text message from the last error.
error | An ssh_session or ssh_bind. |
Referenced by ssh_scp_init(), ssh_scp_leave_directory(), ssh_scp_push_directory(), and ssh_scp_push_file64().
int ssh_get_error_code | ( | void * | error | ) |
Retrieve the error code from the last error.
error | An ssh_session or ssh_bind. |