libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ preboard_receive_with_timeout()

preboard_error_t preboard_receive_with_timeout ( preboard_client_t  client,
plist_t *  plist,
uint32_t  timeout_ms 
)

Receives a plist from the service with the specified timeout.

Parameters
clientThe preboard client
plistPointer to a plist_t what will be set to the received plist
Returns
PREBOARD_E_SUCCESS on success, PREBOARD_E_INVALID_ARG when client or plist is NULL, PREBOARD_E_TIMEOUT when no data was received after the given timeout, or a PREBOARD_E_* error code on error.