diff options
author | 2024-01-31 02:57:11 +0100 | |
---|---|---|
committer | 2024-01-31 02:57:11 +0100 | |
commit | 63bbac545efc400373a7f472fdd78174149119c3 (patch) | |
tree | f95c8d58b7b0fbf33bd188c5becc0401ee7e64ef /include/libimobiledevice/mobile_image_mounter.h | |
parent | f723a44513eb5ba5797da24bc2b63d9f09600a6e (diff) | |
download | libimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.gz libimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.bz2 |
Move LIBIMOBILEDEVICE_API to public headers
Diffstat (limited to 'include/libimobiledevice/mobile_image_mounter.h')
-rw-r--r-- | include/libimobiledevice/mobile_image_mounter.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/libimobiledevice/mobile_image_mounter.h b/include/libimobiledevice/mobile_image_mounter.h index 891df40..d4fc3f4 100644 --- a/include/libimobiledevice/mobile_image_mounter.h +++ b/include/libimobiledevice/mobile_image_mounter.h | |||
@@ -66,7 +66,7 @@ typedef ssize_t (*mobile_image_mounter_upload_cb_t) (void* buffer, size_t length | |||
66 | * or MOBILE_IMAGE_MOUNTER_E_CONN_FAILED if the connection to the | 66 | * or MOBILE_IMAGE_MOUNTER_E_CONN_FAILED if the connection to the |
67 | * device could not be established. | 67 | * device could not be established. |
68 | */ | 68 | */ |
69 | mobile_image_mounter_error_t mobile_image_mounter_new(idevice_t device, lockdownd_service_descriptor_t service, mobile_image_mounter_client_t *client); | 69 | LIBIMOBILEDEVICE_API mobile_image_mounter_error_t mobile_image_mounter_new(idevice_t device, lockdownd_service_descriptor_t service, mobile_image_mounter_client_t *client); |
70 | 70 | ||
71 | /** | 71 | /** |
72 | * Starts a new mobile_image_mounter service on the specified device and connects to it. | 72 | * Starts a new mobile_image_mounter service on the specified device and connects to it. |
@@ -81,7 +81,7 @@ mobile_image_mounter_error_t mobile_image_mounter_new(idevice_t device, lockdown | |||
81 | * @return MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, or an MOBILE_IMAGE_MOUNTER_E_* error | 81 | * @return MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, or an MOBILE_IMAGE_MOUNTER_E_* error |
82 | * code otherwise. | 82 | * code otherwise. |
83 | */ | 83 | */ |
84 | mobile_image_mounter_error_t mobile_image_mounter_start_service(idevice_t device, mobile_image_mounter_client_t* client, const char* label); | 84 | LIBIMOBILEDEVICE_API mobile_image_mounter_error_t mobile_image_mounter_start_service(idevice_t device, mobile_image_mounter_client_t* client, const char* label); |
85 | 85 | ||
86 | /** | 86 | /** |
87 | * Disconnects a mobile_image_mounter client from the device and frees up the | 87 | * Disconnects a mobile_image_mounter client from the device and frees up the |
@@ -92,7 +92,7 @@ mobile_image_mounter_error_t mobile_image_mounter_start_service(idevice_t device | |||
92 | * @return MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, | 92 | * @return MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, |
93 | * or MOBILE_IMAGE_MOUNTER_E_INVALID_ARG if client is NULL. | 93 | * or MOBILE_IMAGE_MOUNTER_E_INVALID_ARG if client is NULL. |
94 | */ | 94 | */ |
95 | mobile_image_mounter_error_t mobile_image_mounter_free(mobile_image_mounter_client_t client); | 95 | LIBIMOBILEDEVICE_API mobile_image_mounter_error_t mobile_image_mounter_free(mobile_image_mounter_client_t client); |
96 | 96 | ||
97 | 97 | ||
98 | /** | 98 | /** |
@@ -108,7 +108,7 @@ mobile_image_mounter_error_t mobile_image_mounter_free(mobile_image_mounter_clie | |||
108 | * | 108 | * |
109 | * @return MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, or an error code on error | 109 | * @return MOBILE_IMAGE_MOUNTER_E_SUCCESS on success, or an error code on error |
110 | */ | 110 | */ |
111 | mobile_image_mounter_error_t mobile_image_mounter_lookup_image(mobile_image_mounter_client_t client, const char *image_type, plist_t *result); | 111 | LIBIMOBILEDEVICE_API mobile_image_mounter_error_t mobile_image_mounter_lookup_image(mobile_image_mounter_client_t client, const char *image_type, plist_t *result); |
112 | 112 | ||
113 | /** | 113 | /** |
114 | * Uploads an image with an optional signature to the device. | 114 | * Uploads an image with an optional signature to the device. |
@@ -127,7 +127,7 @@ mobile_image_mounter_error_t mobile_image_mounter_lookup_image(mobile_image_moun | |||
127 | * @return MOBILE_IMAGE_MOUNTER_E_SUCCESS on succes, or a | 127 | * @return MOBILE_IMAGE_MOUNTER_E_SUCCESS on succes, or a |
128 | * MOBILE_IMAGE_MOUNTER_E_* error code otherwise. | 128 | * MOBILE_IMAGE_MOUNTER_E_* error code otherwise. |
129 | */ | 129 | */ |
130 | mobile_image_mounter_error_t mobile_image_mounter_upload_image(mobile_image_mounter_client_t client, const char *image_type, size_t image_size, const char *signature, uint16_t signature_size, mobile_image_mounter_upload_cb_t upload_cb, void* userdata); | 130 | LIBIMOBILEDEVICE_API mobile_image_mounter_error_t mobile_image_mounter_upload_image(mobile_image_mounter_client_t client, const char *image_type, size_t image_size, const char *signature, uint16_t signature_size, mobile_image_mounter_upload_cb_t upload_cb, void* userdata); |
131 | 131 | ||
132 | /** | 132 | /** |
133 | * Mounts an image on the device. | 133 | * Mounts an image on the device. |
@@ -150,7 +150,7 @@ mobile_image_mounter_error_t mobile_image_mounter_upload_image(mobile_image_moun | |||
150 | * MOBILE_IMAGE_MOUNTER_E_INVALID_ARG if on ore more parameters are | 150 | * MOBILE_IMAGE_MOUNTER_E_INVALID_ARG if on ore more parameters are |
151 | * invalid, or another error code otherwise. | 151 | * invalid, or another error code otherwise. |
152 | */ | 152 | */ |
153 | mobile_image_mounter_error_t mobile_image_mounter_mount_image(mobile_image_mounter_client_t client, const char *image_path, const char *signature, uint16_t signature_size, const char *image_type, plist_t *result); | 153 | LIBIMOBILEDEVICE_API mobile_image_mounter_error_t mobile_image_mounter_mount_image(mobile_image_mounter_client_t client, const char *image_path, const char *signature, uint16_t signature_size, const char *image_type, plist_t *result); |
154 | 154 | ||
155 | /** | 155 | /** |
156 | * Hangs up the connection to the mobile_image_mounter service. | 156 | * Hangs up the connection to the mobile_image_mounter service. |
@@ -163,7 +163,7 @@ mobile_image_mounter_error_t mobile_image_mounter_mount_image(mobile_image_mount | |||
163 | * MOBILE_IMAGE_MOUNTER_E_INVALID_ARG if client is invalid, | 163 | * MOBILE_IMAGE_MOUNTER_E_INVALID_ARG if client is invalid, |
164 | * or another error code otherwise. | 164 | * or another error code otherwise. |
165 | */ | 165 | */ |
166 | mobile_image_mounter_error_t mobile_image_mounter_hangup(mobile_image_mounter_client_t client); | 166 | LIBIMOBILEDEVICE_API mobile_image_mounter_error_t mobile_image_mounter_hangup(mobile_image_mounter_client_t client); |
167 | 167 | ||
168 | #ifdef __cplusplus | 168 | #ifdef __cplusplus |
169 | } | 169 | } |