libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ property_list_service_receive_plist()

property_list_service_error_t property_list_service_receive_plist ( property_list_service_client_t  client,
plist_t *  plist 
)

Receives a plist using the given property list service client.

Binary or XML plists are automatically handled.

This function is like property_list_service_receive_plist_with_timeout using a timeout of 10 seconds.

See also
property_list_service_receive_plist_with_timeout
Parameters
clientThe property list service client to use for receiving
plistpointer to a plist_t that will point to the received plist upon successful return
Returns
PROPERTY_LIST_SERVICE_E_SUCCESS on success, PROPERTY_LIST_SERVICE_E_INVALID_ARG when client or *plist is NULL, PROPERTY_LIST_SERVICE_E_NOT_ENOUGH_DATA when not enough data received, PROPERTY_LIST_SERVICE_E_RECEIVE_TIMEOUT when the connection times out, PROPERTY_LIST_SERVICE_E_PLIST_ERROR when the received data cannot be converted to a plist, PROPERTY_LIST_SERVICE_E_MUX_ERROR when a communication error occurs, or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR when an unspecified error occurs.