libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ reverse_proxy_client_set_data_callback()

LIBIMOBILEDEVICE_API void reverse_proxy_client_set_data_callback ( reverse_proxy_client_t  client,
reverse_proxy_data_cb_t  callback,
void *  user_data 
)

Set a data callback function.

Useful for debugging or extra verbosity.

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.