diff options
Diffstat (limited to 'src/mobilebackup.c')
| -rw-r--r-- | src/mobilebackup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mobilebackup.c b/src/mobilebackup.c index 5b81c7f..91b9e73 100644 --- a/src/mobilebackup.c +++ b/src/mobilebackup.c | |||
| @@ -59,7 +59,7 @@ static mobilebackup_error_t mobilebackup_error(device_link_service_error_t err) | |||
| 59 | return MOBILEBACKUP_E_UNKNOWN_ERROR; | 59 | return MOBILEBACKUP_E_UNKNOWN_ERROR; |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | mobilebackup_error_t mobilebackup_client_new(iphone_device_t device, uint16_t port, | 62 | mobilebackup_error_t mobilebackup_client_new(idevice_t device, uint16_t port, |
| 63 | mobilebackup_client_t * client) | 63 | mobilebackup_client_t * client) |
| 64 | { | 64 | { |
| 65 | if (!device || port == 0 || !client || *client) | 65 | if (!device || port == 0 || !client || *client) |
| @@ -97,7 +97,7 @@ mobilebackup_error_t mobilebackup_client_free(mobilebackup_client_t client) | |||
| 97 | return err; | 97 | return err; |
| 98 | } | 98 | } |
| 99 | 99 | ||
| 100 | /** Polls the iPhone for MobileBackup data. | 100 | /** Polls the device for MobileBackup data. |
| 101 | * | 101 | * |
| 102 | * @param client The MobileBackup client | 102 | * @param client The MobileBackup client |
| 103 | * @param plist A pointer to the location where the plist should be stored | 103 | * @param plist A pointer to the location where the plist should be stored |
| @@ -112,7 +112,7 @@ mobilebackup_error_t mobilebackup_receive(mobilebackup_client_t client, plist_t | |||
| 112 | return ret; | 112 | return ret; |
| 113 | } | 113 | } |
| 114 | 114 | ||
| 115 | /** Sends MobileBackup data to the iPhone | 115 | /** Sends MobileBackup data to the device |
| 116 | * | 116 | * |
| 117 | * @note This function is low-level and should only be used if you need to send | 117 | * @note This function is low-level and should only be used if you need to send |
| 118 | * a new type of message. | 118 | * a new type of message. |
