libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ reverse_proxy_client_set_log_callback()

LIBIMOBILEDEVICE_API void reverse_proxy_client_set_log_callback ( reverse_proxy_client_t  client,
reverse_proxy_log_cb_t  callback,
void *  user_data 
)

Set a log callback function.

Useful for debugging or verbosity.

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