libimobiledevice  1.3.0-dirty
API Documentation - Return to Homepage

◆ reverse_proxy_client_set_status_callback()

void reverse_proxy_client_set_status_callback ( reverse_proxy_client_t client,
reverse_proxy_status_cb_t callback,
void * user_data )

Set a status callback function.

This allows to report the status of the reverse proxy, like Ready, Connect Request, Connected, etc.

Note
Set the callback before calling reverse_proxy_client_start_proxy().
Parameters
clientThe reverse proxy client
callbackThe status callback function that will be called when the status of the reverse proxy changes.
user_dataA pointer that will be passed to the callback function.