libssh
0.5.4
|
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 | The SSH session pointer. |
Referenced by ssh_scp_leave_directory(), ssh_scp_push_directory(), ssh_scp_push_file(), and ssh_try_publickey_from_file().
int ssh_get_error_code | ( | void * | error | ) |
Retrieve the error code from the last error.
error | The SSH session pointer. |
Other error codes are internal but can be considered same than SSH_FATAL.