libimobiledevice/mobilesync.h File Reference
MobileSync Implementation.
More...
Detailed Description
MobileSync Implementation.
Typedef Documentation
Represents an error code.
Function Documentation
Disconnects a mobilesync client from the device and frees up the mobilesync client data.
- Parameters:
-
| client | The mobilesync client to disconnect and free. |
- Returns:
- MOBILESYNC_E_SUCCESS on success, or MOBILESYNC_E_INVALID_ARG if client is NULL.
Connects to the mobilesync service on the specified device.
- Parameters:
-
| device | The device to connect to. |
| port | Destination port (usually given by lockdownd_start_service). |
| client | Pointer that will be set to a newly allocated mobilesync_client_t upon successful return. |
- Returns:
- MOBILESYNC_E_SUCCESS on success, MOBILESYNC_E_INVALID ARG if one or more parameters are invalid, or DEVICE_LINK_SERVICE_E_BAD_VERSION if the mobilesync version on the device is newer.
Polls the device for mobilesync data.
- Parameters:
-
| client | The mobilesync client |
| plist | A pointer to the location where the plist should be stored |
- Returns:
- an error code
Sends mobilesync data to the device.
- Note:
- This function is low-level and should only be used if you need to send a new type of message.
- Parameters:
-
| client | The mobilesync client |
| plist | The location of the plist to send |
- Returns:
- an error code