|
libssh
0.6.3
|
Functions for error handling. More...
Functions | |
| const char * | ssh_get_error (void *error) |
| Retrieve the error text message from the last error. | |
| int | ssh_get_error_code (void *error) |
| Retrieve the error code from the last error. | |
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. |
| int ssh_get_error_code | ( | void * | error | ) |
Retrieve the error code from the last error.
| error | An ssh_session or ssh_bind. |
Other error codes are internal but can be considered same than SSH_FATAL.
1.8.1.2