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
-
client | The property list service client to use for receiving |
plist | pointer 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.