libssh
0.10.90
The SSH library
|
#include <callbacks.h>
The structure to replace libssh functions with appropriate callbacks.
ssh_auth_callback ssh_callbacks_struct::auth_function |
This functions will be called if e.g. a keyphrase is needed.
ssh_channel_open_request_auth_agent_callback ssh_callbacks_struct::channel_open_request_auth_agent_function |
This function will be called when an incoming "auth-agent" request is received.
ssh_channel_open_request_forwarded_tcpip_callback ssh_callbacks_struct::channel_open_request_forwarded_tcpip_function |
This function will be called when an incoming "forwarded-tcpip" request is received.
ssh_channel_open_request_x11_callback ssh_callbacks_struct::channel_open_request_x11_function |
This function will be called when an incoming X11 request is received.
void(* ssh_callbacks_struct::connect_status_function) (void *userdata, float status) |
This function gets called during connection time to indicate the percentage of connection steps completed.
ssh_global_request_callback ssh_callbacks_struct::global_request_function |
This function will be called each time a global request is received.
ssh_log_callback ssh_callbacks_struct::log_function |
This function will be called each time a loggable event happens.
size_t ssh_callbacks_struct::size |
DON'T SET THIS use ssh_callbacks_init() instead.
void* ssh_callbacks_struct::userdata |
User-provided data. User is free to set anything he wants here