| libimobiledevice 1.3.0-dirty API Documentation - Return to Homepage

- About
- Structs
- Files
- Related Pages

lockdownd_activate
lockdownd_client_free
lockdownd_client_new
lockdownd_client_new_with_handshake
lockdownd_client_set_label
lockdownd_client_t
lockdownd_cu_pairing_cb_t
lockdownd_cu_pairing_cb_type_t
lockdownd_cu_pairing_create
lockdownd_cu_send_request_and_get_reply
lockdownd_data_classes_free
lockdownd_deactivate
lockdownd_enter_recovery
lockdownd_error_t
lockdownd_get_device_name
lockdownd_get_device_udid
lockdownd_get_sync_data_classes
lockdownd_get_value
lockdownd_get_value_cu
lockdownd_goodbye
lockdownd_pair
lockdownd_pair_cu
lockdownd_pair_with_options
lockdownd_query_type
lockdownd_receive
lockdownd_remove_value
lockdownd_send
lockdownd_service_descriptor_free
lockdownd_set_value
lockdownd_start_service
lockdownd_start_service_with_escrow_bag
lockdownd_start_session
lockdownd_stop_session
lockdownd_strerror
lockdownd_unpair
lockdownd_validate_pair
| ## ◆ lockdownd_cu_send_request_and_get_reply()
lockdownd_error_t lockdownd_cu_send_request_and_get_reply | ( | lockdownd_client_t | client,
|  | const char * | request,
|  | plist_t | request_payload,
|  | plist_t * | reply )
  Sends a request via lockdown client with established CU pairing session and attempts to retrieve a reply. This function is used internally by lockdownd_get_value_cu() and lockdownd_pair_cu(), but exposed here to allow custom requests being sent and their replies being received. Parameters
  client | A lockdown client with an established CU pairing.
  request | The request to perform.
  request_payload | The payload for the request.
  reply | (Optional) If not NULL, the plist_t will be set to the reply dictionary that has been received. Consumer is responsible to free it using plist_free() when no longer required.
Returns LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG if one of the parameters is invalid, LOCKDOWN_E_NO_RUNNING_SESSION if the current lockdown client does not have an established CU pairing session, or a LOCKDOWN_E_* error code otherwise.