libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobilebackup2_send_status_response()

mobilebackup2_error_t mobilebackup2_send_status_response ( mobilebackup2_client_t  client,
int  status_code,
const char *  status1,
plist_t  status2 
)

Sends a DLMessageStatusResponse to the device.

Parameters
clientThe MobileBackup client to use.
status_codeThe status code to send.
status1A status message to send. Can be NULL if not required.
status2An additional status plist to attach to the response. Can be NULL if not required.
Returns
MOBILEBACKUP2_E_SUCCESS on success, MOBILEBACKUP2_E_INVALID_ARG if client is invalid, or another MOBILEBACKUP2_E_* otherwise.