libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ syslog_relay_receive()

syslog_relay_error_t syslog_relay_receive ( syslog_relay_client_t  client,
char *  data,
uint32_t  size,
uint32_t *  received 
)

Receives data from the service.

Parameters
clientThe syslog_relay client
dataBuffer that will be filled with the data received
sizeNumber of bytes to receive
receivedNumber of bytes received (can be NULL to ignore)
timeoutMaximum time in milliseconds to wait for data.
Returns
SYSLOG_RELAY_E_SUCCESS on success, SYSLOG_RELAY_E_INVALID_ARG when client or plist is NULL