ssh_bind_set_callbacks

@brief Set the callback for this bind.

@paramin sshbind The bind to set the callback on.

@paramin callbacks An already set up ssh_bind_callbacks instance.

@paramin userdata A pointer to private data to pass to the callbacks.

@return SSH_OK on success, SSH_ERROR if an error occured.

@code struct ssh_callbacks_struct cb = { .userdata = data, .auth_function = my_auth_function }; ssh_callbacks_init(&cb); ssh_bind_set_callbacks(session, &cb); @endcode

extern (C)
int
ssh_bind_set_callbacks

Meta