| libimobiledevice 1.4.0 API Documentation - Return to Homepage

syslog_relay_client_free
syslog_relay_client_new
syslog_relay_client_start_service
syslog_relay_client_t
syslog_relay_error_t
syslog_relay_receive
syslog_relay_receive_cb_t
syslog_relay_receive_with_timeout
SYSLOG_RELAY_SERVICE_NAME
syslog_relay_start_capture
syslog_relay_start_capture_raw
syslog_relay_stop_capture
| ## ◆ syslog_relay_start_capture_raw()
LIBIMOBILEDEVICE_API syslog_relay_error_t syslog_relay_start_capture_raw | ( | syslog_relay_client_t | client,
|  | syslog_relay_receive_cb_t | callback,
|  | void * | user_data )
  Starts capturing the raw syslog of the device using a callback. This function is like syslog_relay_start_capture with the difference that it will neither check nor process the received data before passing it to the callback function. Use syslog_relay_stop_capture() to stop receiving the syslog. Note Use syslog_relay_start_capture for a safer implementation. Parameters
  client | The syslog_relay client to use
  callback | Callback to receive each character from the syslog.
  user_data | Custom pointer passed to the callback function.
Returns SYSLOG_RELAY_E_SUCCESS on success, SYSLOG_RELAY_E_INVALID_ARG when one or more parameters are invalid or SYSLOG_RELAY_E_UNKNOWN_ERROR when an unspecified error occurs or a syslog capture has already been started.