summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/file_relay.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libimobiledevice/file_relay.h')
-rw-r--r--include/libimobiledevice/file_relay.h10
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 */
65file_relay_error_t file_relay_client_new(idevice_t device, lockdownd_service_descriptor_t service, file_relay_client_t *client); 65LIBIMOBILEDEVICE_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 */
80file_relay_error_t file_relay_client_start_service(idevice_t device, file_relay_client_t* client, const char* label); 80LIBIMOBILEDEVICE_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 */
93file_relay_error_t file_relay_client_free(file_relay_client_t client); 93LIBIMOBILEDEVICE_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 */
126file_relay_error_t file_relay_request_sources(file_relay_client_t client, const char **sources, idevice_connection_t *connection); 126LIBIMOBILEDEVICE_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 */
160file_relay_error_t file_relay_request_sources_timeout(file_relay_client_t client, const char **sources, idevice_connection_t *connection, unsigned int timeout); 160LIBIMOBILEDEVICE_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}