libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ lockdownd_cu_pairing_cb_type_t

Callback types used in lockdownd_cu_pairing_cb_t.

Enumerator
LOCKDOWN_CU_PAIRING_PIN_REQUESTED 

PIN requested: data_ptr is a char* buffer, and data_size points to the size of this buffer that must not be exceeded and has to be updated to the actual number of characters filled into the buffer.

LOCKDOWN_CU_PAIRING_DEVICE_INFO 

device information available: data_ptr is a plist_t, and data_size is ignored.

The plist_t has to be copied if required, since it is freed when the callback function returns.

LOCKDOWN_CU_PAIRING_ERROR 

pairing error message available: data_ptr is a NULL-terminated char* buffer containing the error message, and data_size is ignored.

Buffer needs to be copied if it shall persist outside the callback.