|
libssh 0.12.0
The SSH library
|
Functions | |
| void | _ssh_set_error (void *error, int code, const char *function, const char *descr,...) |
| void | _ssh_set_error_oom (void *error, const char *function) |
| void | _ssh_set_error_invalid (void *error, const char *function) |
| void | ssh_reset_error (void *error) |
| 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. |