diff options
author | 2022-04-12 02:26:34 +0200 | |
---|---|---|
committer | 2022-04-12 02:26:34 +0200 | |
commit | dca3cf8c5bd804bf563fd43a6cdfdb1a5b85d490 (patch) | |
tree | 56a21e7f928fd20da792772d8a899c7f3df64db7 /include/libimobiledevice/mobilebackup2.h | |
parent | ea6084c4ed624b6191b4b47737e33d88911bebc8 (diff) | |
download | libimobiledevice-dca3cf8c5bd804bf563fd43a6cdfdb1a5b85d490.tar.gz libimobiledevice-dca3cf8c5bd804bf563fd43a6cdfdb1a5b85d490.tar.bz2 |
Documentation fixes
Diffstat (limited to 'include/libimobiledevice/mobilebackup2.h')
-rw-r--r-- | include/libimobiledevice/mobilebackup2.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libimobiledevice/mobilebackup2.h b/include/libimobiledevice/mobilebackup2.h index 239c807..1af4141 100644 --- a/include/libimobiledevice/mobilebackup2.h +++ b/include/libimobiledevice/mobilebackup2.h | |||
@@ -31,6 +31,7 @@ extern "C" { | |||
31 | #include <libimobiledevice/libimobiledevice.h> | 31 | #include <libimobiledevice/libimobiledevice.h> |
32 | #include <libimobiledevice/lockdown.h> | 32 | #include <libimobiledevice/lockdown.h> |
33 | 33 | ||
34 | /** Service identifier passed to lockdownd_start_service() to start the mobilebackup2 service */ | ||
34 | #define MOBILEBACKUP2_SERVICE_NAME "com.apple.mobilebackup2" | 35 | #define MOBILEBACKUP2_SERVICE_NAME "com.apple.mobilebackup2" |
35 | 36 | ||
36 | /** Error Codes */ | 37 | /** Error Codes */ |
@@ -47,7 +48,7 @@ typedef enum { | |||
47 | MOBILEBACKUP2_E_UNKNOWN_ERROR = -256 | 48 | MOBILEBACKUP2_E_UNKNOWN_ERROR = -256 |
48 | } mobilebackup2_error_t; | 49 | } mobilebackup2_error_t; |
49 | 50 | ||
50 | typedef struct mobilebackup2_client_private mobilebackup2_client_private; | 51 | typedef struct mobilebackup2_client_private mobilebackup2_client_private; /**< \private */ |
51 | typedef mobilebackup2_client_private *mobilebackup2_client_t; /**< The client handle. */ | 52 | typedef mobilebackup2_client_private *mobilebackup2_client_t; /**< The client handle. */ |
52 | 53 | ||
53 | 54 | ||
@@ -156,7 +157,7 @@ mobilebackup2_error_t mobilebackup2_send_raw(mobilebackup2_client_t client, cons | |||
156 | * @param data Pointer to a buffer that will be filled with the received data. | 157 | * @param data Pointer to a buffer that will be filled with the received data. |
157 | * @param length Number of bytes to receive. The data buffer needs to be large | 158 | * @param length Number of bytes to receive. The data buffer needs to be large |
158 | * enough to store this amount of data. | 159 | * enough to store this amount of data. |
159 | * @paran bytes Number of bytes actually received. | 160 | * @param bytes Number of bytes actually received. |
160 | * | 161 | * |
161 | * @return MOBILEBACKUP2_E_SUCCESS if any or no data was received, | 162 | * @return MOBILEBACKUP2_E_SUCCESS if any or no data was received, |
162 | * MOBILEBACKUP2_E_INVALID_ARG if one of the parameters is invalid, | 163 | * MOBILEBACKUP2_E_INVALID_ARG if one of the parameters is invalid, |