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/file_relay.h | |
| parent | f723a44513eb5ba5797da24bc2b63d9f09600a6e (diff) | |
| download | libimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.gz libimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.bz2 | |
Move LIBIMOBILEDEVICE_API to public headers
Diffstat (limited to 'include/libimobiledevice/file_relay.h')
| -rw-r--r-- | include/libimobiledevice/file_relay.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/libimobiledevice/file_relay.h b/include/libimobiledevice/file_relay.h index 6b30e65..00773b8 100644 --- a/include/libimobiledevice/file_relay.h +++ b/include/libimobiledevice/file_relay.h | |||
| @@ -62,7 +62,7 @@ typedef file_relay_client_private *file_relay_client_t; /**< The client handle. | |||
| 62 | * FILE_RELAY_E_INVALID_ARG when one of the parameters is invalid, | 62 | * FILE_RELAY_E_INVALID_ARG when one of the parameters is invalid, |
| 63 | * or FILE_RELAY_E_MUX_ERROR when the connection failed. | 63 | * or FILE_RELAY_E_MUX_ERROR when the connection failed. |
| 64 | */ | 64 | */ |
| 65 | file_relay_error_t file_relay_client_new(idevice_t device, lockdownd_service_descriptor_t service, file_relay_client_t *client); | 65 | LIBIMOBILEDEVICE_API file_relay_error_t file_relay_client_new(idevice_t device, lockdownd_service_descriptor_t service, file_relay_client_t *client); |
| 66 | 66 | ||
| 67 | /** | 67 | /** |
| 68 | * Starts a new file_relay service on the specified device and connects to it. | 68 | * Starts a new file_relay service on the specified device and connects to it. |
| @@ -77,7 +77,7 @@ file_relay_error_t file_relay_client_new(idevice_t device, lockdownd_service_des | |||
| 77 | * @return FILE_RELAY_E_SUCCESS on success, or an FILE_RELAY_E_* error | 77 | * @return FILE_RELAY_E_SUCCESS on success, or an FILE_RELAY_E_* error |
| 78 | * code otherwise. | 78 | * code otherwise. |
| 79 | */ | 79 | */ |
| 80 | file_relay_error_t file_relay_client_start_service(idevice_t device, file_relay_client_t* client, const char* label); | 80 | LIBIMOBILEDEVICE_API file_relay_error_t file_relay_client_start_service(idevice_t device, file_relay_client_t* client, const char* label); |
| 81 | 81 | ||
| 82 | /** | 82 | /** |
| 83 | * Disconnects a file_relay client from the device and frees up the file_relay | 83 | * Disconnects a file_relay client from the device and frees up the file_relay |
| @@ -90,7 +90,7 @@ file_relay_error_t file_relay_client_start_service(idevice_t device, file_relay_ | |||
| 90 | * is invalid, or FILE_RELAY_E_UNKNOWN_ERROR when the was an error | 90 | * is invalid, or FILE_RELAY_E_UNKNOWN_ERROR when the was an error |
| 91 | * freeing the parent property_list_service client. | 91 | * freeing the parent property_list_service client. |
| 92 | */ | 92 | */ |
| 93 | file_relay_error_t file_relay_client_free(file_relay_client_t client); | 93 | LIBIMOBILEDEVICE_API file_relay_error_t file_relay_client_free(file_relay_client_t client); |
| 94 | 94 | ||
| 95 | 95 | ||
| 96 | /** | 96 | /** |
| @@ -123,7 +123,7 @@ file_relay_error_t file_relay_client_free(file_relay_client_t client); | |||
| 123 | * sources are invalid, FILE_RELAY_E_STAGING_EMPTY if no data is available | 123 | * sources are invalid, FILE_RELAY_E_STAGING_EMPTY if no data is available |
| 124 | * for the given sources, or FILE_RELAY_E_UNKNOWN_ERROR otherwise. | 124 | * for the given sources, or FILE_RELAY_E_UNKNOWN_ERROR otherwise. |
| 125 | */ | 125 | */ |
| 126 | file_relay_error_t file_relay_request_sources(file_relay_client_t client, const char **sources, idevice_connection_t *connection); | 126 | LIBIMOBILEDEVICE_API file_relay_error_t file_relay_request_sources(file_relay_client_t client, const char **sources, idevice_connection_t *connection); |
| 127 | 127 | ||
| 128 | /** | 128 | /** |
| 129 | * Request data for the given sources. Calls file_relay_request_sources_timeout() with | 129 | * Request data for the given sources. Calls file_relay_request_sources_timeout() with |
| @@ -157,7 +157,7 @@ file_relay_error_t file_relay_request_sources(file_relay_client_t client, const | |||
| 157 | * sources are invalid, FILE_RELAY_E_STAGING_EMPTY if no data is available | 157 | * sources are invalid, FILE_RELAY_E_STAGING_EMPTY if no data is available |
| 158 | * for the given sources, or FILE_RELAY_E_UNKNOWN_ERROR otherwise. | 158 | * for the given sources, or FILE_RELAY_E_UNKNOWN_ERROR otherwise. |
| 159 | */ | 159 | */ |
| 160 | file_relay_error_t file_relay_request_sources_timeout(file_relay_client_t client, const char **sources, idevice_connection_t *connection, unsigned int timeout); | 160 | LIBIMOBILEDEVICE_API file_relay_error_t file_relay_request_sources_timeout(file_relay_client_t client, const char **sources, idevice_connection_t *connection, unsigned int timeout); |
| 161 | 161 | ||
| 162 | #ifdef __cplusplus | 162 | #ifdef __cplusplus |
| 163 | } | 163 | } |
