summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/reverse_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libimobiledevice/reverse_proxy.h')
-rw-r--r--include/libimobiledevice/reverse_proxy.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/libimobiledevice/reverse_proxy.h b/include/libimobiledevice/reverse_proxy.h
index b7a93ff..5e2f54b 100644
--- a/include/libimobiledevice/reverse_proxy.h
+++ b/include/libimobiledevice/reverse_proxy.h
@@ -118,7 +118,7 @@ typedef void (*reverse_proxy_status_cb_t) (reverse_proxy_client_t client, revers
* @return REVERSE_PROXY_E_SUCCESS on success,
* or a REVERSE_PROXY_E_* error code otherwise.
*/
-reverse_proxy_error_t reverse_proxy_client_create_with_service(idevice_t device, reverse_proxy_client_t* client, const char* label);
+LIBIMOBILEDEVICE_API reverse_proxy_error_t reverse_proxy_client_create_with_service(idevice_t device, reverse_proxy_client_t* client, const char* label);
/**
* Create a reverse proxy client using an open port on the device. This is
@@ -136,14 +136,14 @@ reverse_proxy_error_t reverse_proxy_client_create_with_service(idevice_t device,
* @return REVERSE_PROXY_E_SUCCESS on success,
* or a REVERSE_PROXY_E_* error code otherwise.
*/
-reverse_proxy_error_t reverse_proxy_client_create_with_port(idevice_t device, reverse_proxy_client_t* client, uint16_t device_port);
+LIBIMOBILEDEVICE_API reverse_proxy_error_t reverse_proxy_client_create_with_port(idevice_t device, reverse_proxy_client_t* client, uint16_t device_port);
/**
* Disconnects a reverse proxy client and frees up the client data.
*
* @param client The reverse proxy client to disconnect and free.
*/
-reverse_proxy_error_t reverse_proxy_client_free(reverse_proxy_client_t client);
+LIBIMOBILEDEVICE_API reverse_proxy_error_t reverse_proxy_client_free(reverse_proxy_client_t client);
/**
* Make an initialized reverse proxy client operational, i.e. start the actual proxy.
@@ -155,7 +155,7 @@ reverse_proxy_error_t reverse_proxy_client_free(reverse_proxy_client_t client);
* @return REVERSE_PROXY_E_SUCCESS on success,
* or a REVERSE_PROXY_E_* error code otherwise.
*/
-reverse_proxy_error_t reverse_proxy_client_start_proxy(reverse_proxy_client_t client, int control_protocol_version);
+LIBIMOBILEDEVICE_API reverse_proxy_error_t reverse_proxy_client_start_proxy(reverse_proxy_client_t client, int control_protocol_version);
/**
* Set a status callback function. This allows to report the status of the
@@ -168,7 +168,7 @@ reverse_proxy_error_t reverse_proxy_client_start_proxy(reverse_proxy_client_t cl
* when the status of the reverse proxy changes.
* @param user_data A pointer that will be passed to the callback function.
*/
-void reverse_proxy_client_set_status_callback(reverse_proxy_client_t client, reverse_proxy_status_cb_t callback, void* user_data);
+LIBIMOBILEDEVICE_API void reverse_proxy_client_set_status_callback(reverse_proxy_client_t client, reverse_proxy_status_cb_t callback, void* user_data);
/**
* Set a log callback function. Useful for debugging or verbosity.
@@ -180,7 +180,7 @@ void reverse_proxy_client_set_status_callback(reverse_proxy_client_t client, rev
* when the reverse proxy logs something.
* @param user_data A pointer that will be passed to the callback function.
*/
-void reverse_proxy_client_set_log_callback(reverse_proxy_client_t client, reverse_proxy_log_cb_t callback, void* user_data);
+LIBIMOBILEDEVICE_API void reverse_proxy_client_set_log_callback(reverse_proxy_client_t client, reverse_proxy_log_cb_t callback, void* user_data);
/**
* Set a data callback function. Useful for debugging or extra verbosity.
@@ -193,7 +193,7 @@ void reverse_proxy_client_set_log_callback(reverse_proxy_client_t client, revers
* @param user_data A pointer that will be passed to the callback function.
*/
-void reverse_proxy_client_set_data_callback(reverse_proxy_client_t client, reverse_proxy_data_cb_t callback, void* user_data);
+LIBIMOBILEDEVICE_API void reverse_proxy_client_set_data_callback(reverse_proxy_client_t client, reverse_proxy_data_cb_t callback, void* user_data);
/**
* Helper function to return the type of a given reverse proxy client, which
@@ -204,7 +204,7 @@ void reverse_proxy_client_set_data_callback(reverse_proxy_client_t client, rever
*
* @return The type of the rerverse proxy client
*/
-reverse_proxy_client_type_t reverse_proxy_get_type(reverse_proxy_client_t client);
+LIBIMOBILEDEVICE_API reverse_proxy_client_type_t reverse_proxy_get_type(reverse_proxy_client_t client);
#ifdef __cplusplus
}