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/preboard.h | |
| parent | f723a44513eb5ba5797da24bc2b63d9f09600a6e (diff) | |
| download | libimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.gz libimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.bz2 | |
Move LIBIMOBILEDEVICE_API to public headers
Diffstat (limited to 'include/libimobiledevice/preboard.h')
| -rw-r--r-- | include/libimobiledevice/preboard.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/libimobiledevice/preboard.h b/include/libimobiledevice/preboard.h index 88e9806..0d89eb4 100644 --- a/include/libimobiledevice/preboard.h +++ b/include/libimobiledevice/preboard.h | |||
| @@ -64,7 +64,7 @@ typedef void (*preboard_status_cb_t) (plist_t message, void *user_data); | |||
| 64 | * @return PREBOARD_E_SUCCESS on success, PREBOARD_E_INVALID_ARG when | 64 | * @return PREBOARD_E_SUCCESS on success, PREBOARD_E_INVALID_ARG when |
| 65 | * client is NULL, or an PREBOARD_E_* error code otherwise. | 65 | * client is NULL, or an PREBOARD_E_* error code otherwise. |
| 66 | */ | 66 | */ |
| 67 | preboard_error_t preboard_client_new(idevice_t device, lockdownd_service_descriptor_t service, preboard_client_t * client); | 67 | LIBIMOBILEDEVICE_API preboard_error_t preboard_client_new(idevice_t device, lockdownd_service_descriptor_t service, preboard_client_t * client); |
| 68 | 68 | ||
| 69 | /** | 69 | /** |
| 70 | * Starts a new preboard service on the specified device and connects to it. | 70 | * Starts a new preboard service on the specified device and connects to it. |
| @@ -79,7 +79,7 @@ preboard_error_t preboard_client_new(idevice_t device, lockdownd_service_descrip | |||
| 79 | * @return PREBOARD_E_SUCCESS on success, or a PREBOARD_E_* error | 79 | * @return PREBOARD_E_SUCCESS on success, or a PREBOARD_E_* error |
| 80 | * code otherwise. | 80 | * code otherwise. |
| 81 | */ | 81 | */ |
| 82 | preboard_error_t preboard_client_start_service(idevice_t device, preboard_client_t * client, const char* label); | 82 | LIBIMOBILEDEVICE_API preboard_error_t preboard_client_start_service(idevice_t device, preboard_client_t * client, const char* label); |
| 83 | 83 | ||
| 84 | /** | 84 | /** |
| 85 | * Disconnects a preboard client from the device and frees up the | 85 | * Disconnects a preboard client from the device and frees up the |
| @@ -90,7 +90,7 @@ preboard_error_t preboard_client_start_service(idevice_t device, preboard_client | |||
| 90 | * @return PREBOARD_E_SUCCESS on success, PREBOARD_E_INVALID_ARG when | 90 | * @return PREBOARD_E_SUCCESS on success, PREBOARD_E_INVALID_ARG when |
| 91 | * client is NULL, or a PREBOARD_E_* error code otherwise. | 91 | * client is NULL, or a PREBOARD_E_* error code otherwise. |
| 92 | */ | 92 | */ |
| 93 | preboard_error_t preboard_client_free(preboard_client_t client); | 93 | LIBIMOBILEDEVICE_API preboard_error_t preboard_client_free(preboard_client_t client); |
| 94 | 94 | ||
| 95 | /** | 95 | /** |
| 96 | * Sends a plist to the service. | 96 | * Sends a plist to the service. |
| @@ -102,7 +102,7 @@ preboard_error_t preboard_client_free(preboard_client_t client); | |||
| 102 | * PREBOARD_E_INVALID_ARG when client or plist is NULL, | 102 | * PREBOARD_E_INVALID_ARG when client or plist is NULL, |
| 103 | * or a PREBOARD_E_* error code on error | 103 | * or a PREBOARD_E_* error code on error |
| 104 | */ | 104 | */ |
| 105 | preboard_error_t preboard_send(preboard_client_t client, plist_t plist); | 105 | LIBIMOBILEDEVICE_API preboard_error_t preboard_send(preboard_client_t client, plist_t plist); |
| 106 | 106 | ||
| 107 | /** | 107 | /** |
| 108 | * Receives a plist from the service. | 108 | * Receives a plist from the service. |
| @@ -115,7 +115,7 @@ preboard_error_t preboard_send(preboard_client_t client, plist_t plist); | |||
| 115 | * PREBOARD_E_TIMEOUT when no data was received after 5 seconds, | 115 | * PREBOARD_E_TIMEOUT when no data was received after 5 seconds, |
| 116 | * or a PREBOARD_E_* error code on error | 116 | * or a PREBOARD_E_* error code on error |
| 117 | */ | 117 | */ |
| 118 | preboard_error_t preboard_receive(preboard_client_t client, plist_t * plist); | 118 | LIBIMOBILEDEVICE_API preboard_error_t preboard_receive(preboard_client_t client, plist_t * plist); |
| 119 | 119 | ||
| 120 | /** | 120 | /** |
| 121 | * Receives a plist from the service with the specified timeout. | 121 | * Receives a plist from the service with the specified timeout. |
| @@ -129,7 +129,7 @@ preboard_error_t preboard_receive(preboard_client_t client, plist_t * plist); | |||
| 129 | * PREBOARD_E_TIMEOUT when no data was received after the given timeout, | 129 | * PREBOARD_E_TIMEOUT when no data was received after the given timeout, |
| 130 | * or a PREBOARD_E_* error code on error. | 130 | * or a PREBOARD_E_* error code on error. |
| 131 | */ | 131 | */ |
| 132 | preboard_error_t preboard_receive_with_timeout(preboard_client_t client, plist_t * plist, uint32_t timeout_ms); | 132 | LIBIMOBILEDEVICE_API preboard_error_t preboard_receive_with_timeout(preboard_client_t client, plist_t * plist, uint32_t timeout_ms); |
| 133 | 133 | ||
| 134 | /** | 134 | /** |
| 135 | * Tells the preboard service to create a stashbag. This will make the device | 135 | * Tells the preboard service to create a stashbag. This will make the device |
| @@ -157,7 +157,7 @@ preboard_error_t preboard_receive_with_timeout(preboard_client_t client, plist_t | |||
| 157 | * PREBOARD_E_INVALID_ARG when client is invalid, | 157 | * PREBOARD_E_INVALID_ARG when client is invalid, |
| 158 | * or a PREBOARD_E_* error code on error. | 158 | * or a PREBOARD_E_* error code on error. |
| 159 | */ | 159 | */ |
| 160 | preboard_error_t preboard_create_stashbag(preboard_client_t client, plist_t manifest, preboard_status_cb_t status_cb, void *user_data); | 160 | LIBIMOBILEDEVICE_API preboard_error_t preboard_create_stashbag(preboard_client_t client, plist_t manifest, preboard_status_cb_t status_cb, void *user_data); |
| 161 | 161 | ||
| 162 | /** | 162 | /** |
| 163 | * Instructs the preboard service to commit a previously created stashbag. | 163 | * Instructs the preboard service to commit a previously created stashbag. |
| @@ -178,7 +178,7 @@ preboard_error_t preboard_create_stashbag(preboard_client_t client, plist_t mani | |||
| 178 | * PREBOARD_E_INVALID_ARG when client is invalid, | 178 | * PREBOARD_E_INVALID_ARG when client is invalid, |
| 179 | * or a PREBOARD_E_* error code on error. | 179 | * or a PREBOARD_E_* error code on error. |
| 180 | */ | 180 | */ |
| 181 | preboard_error_t preboard_commit_stashbag(preboard_client_t client, plist_t manifest, preboard_status_cb_t status_cb, void *user_data); | 181 | LIBIMOBILEDEVICE_API preboard_error_t preboard_commit_stashbag(preboard_client_t client, plist_t manifest, preboard_status_cb_t status_cb, void *user_data); |
| 182 | 182 | ||
| 183 | #ifdef __cplusplus | 183 | #ifdef __cplusplus |
| 184 | } | 184 | } |
