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/webinspector.h | |
parent | f723a44513eb5ba5797da24bc2b63d9f09600a6e (diff) | |
download | libimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.gz libimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.bz2 |
Move LIBIMOBILEDEVICE_API to public headers
Diffstat (limited to 'include/libimobiledevice/webinspector.h')
-rw-r--r-- | include/libimobiledevice/webinspector.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/libimobiledevice/webinspector.h b/include/libimobiledevice/webinspector.h index 064ba91..16d2ca2 100644 --- a/include/libimobiledevice/webinspector.h +++ b/include/libimobiledevice/webinspector.h | |||
@@ -62,7 +62,7 @@ typedef webinspector_client_private *webinspector_client_t; /**< The client hand | |||
62 | * @return WEBINSPECTOR_E_SUCCESS on success, WEBINSPECTOR_E_INVALID_ARG when | 62 | * @return WEBINSPECTOR_E_SUCCESS on success, WEBINSPECTOR_E_INVALID_ARG when |
63 | * client is NULL, or an WEBINSPECTOR_E_* error code otherwise. | 63 | * client is NULL, or an WEBINSPECTOR_E_* error code otherwise. |
64 | */ | 64 | */ |
65 | webinspector_error_t webinspector_client_new(idevice_t device, lockdownd_service_descriptor_t service, webinspector_client_t * client); | 65 | LIBIMOBILEDEVICE_API webinspector_error_t webinspector_client_new(idevice_t device, lockdownd_service_descriptor_t service, webinspector_client_t * client); |
66 | 66 | ||
67 | /** | 67 | /** |
68 | * Starts a new webinspector service on the specified device and connects to it. | 68 | * Starts a new webinspector service on the specified device and connects to it. |
@@ -77,7 +77,7 @@ webinspector_error_t webinspector_client_new(idevice_t device, lockdownd_service | |||
77 | * @return WEBINSPECTOR_E_SUCCESS on success, or an WEBINSPECTOR_E_* error | 77 | * @return WEBINSPECTOR_E_SUCCESS on success, or an WEBINSPECTOR_E_* error |
78 | * code otherwise. | 78 | * code otherwise. |
79 | */ | 79 | */ |
80 | webinspector_error_t webinspector_client_start_service(idevice_t device, webinspector_client_t * client, const char* label); | 80 | LIBIMOBILEDEVICE_API webinspector_error_t webinspector_client_start_service(idevice_t device, webinspector_client_t * client, const char* label); |
81 | 81 | ||
82 | /** | 82 | /** |
83 | * Disconnects a webinspector client from the device and frees up the | 83 | * Disconnects a webinspector client from the device and frees up the |
@@ -88,7 +88,7 @@ webinspector_error_t webinspector_client_start_service(idevice_t device, webinsp | |||
88 | * @return WEBINSPECTOR_E_SUCCESS on success, WEBINSPECTOR_E_INVALID_ARG when | 88 | * @return WEBINSPECTOR_E_SUCCESS on success, WEBINSPECTOR_E_INVALID_ARG when |
89 | * client is NULL, or an WEBINSPECTOR_E_* error code otherwise. | 89 | * client is NULL, or an WEBINSPECTOR_E_* error code otherwise. |
90 | */ | 90 | */ |
91 | webinspector_error_t webinspector_client_free(webinspector_client_t client); | 91 | LIBIMOBILEDEVICE_API webinspector_error_t webinspector_client_free(webinspector_client_t client); |
92 | 92 | ||
93 | 93 | ||
94 | /** | 94 | /** |
@@ -100,7 +100,7 @@ webinspector_error_t webinspector_client_free(webinspector_client_t client); | |||
100 | * @return DIAGNOSTICS_RELAY_E_SUCCESS on success, | 100 | * @return DIAGNOSTICS_RELAY_E_SUCCESS on success, |
101 | * DIAGNOSTICS_RELAY_E_INVALID_ARG when client or plist is NULL | 101 | * DIAGNOSTICS_RELAY_E_INVALID_ARG when client or plist is NULL |
102 | */ | 102 | */ |
103 | webinspector_error_t webinspector_send(webinspector_client_t client, plist_t plist); | 103 | LIBIMOBILEDEVICE_API webinspector_error_t webinspector_send(webinspector_client_t client, plist_t plist); |
104 | 104 | ||
105 | /** | 105 | /** |
106 | * Receives a plist from the service. | 106 | * Receives a plist from the service. |
@@ -111,7 +111,7 @@ webinspector_error_t webinspector_send(webinspector_client_t client, plist_t pli | |||
111 | * @return DIAGNOSTICS_RELAY_E_SUCCESS on success, | 111 | * @return DIAGNOSTICS_RELAY_E_SUCCESS on success, |
112 | * DIAGNOSTICS_RELAY_E_INVALID_ARG when client or plist is NULL | 112 | * DIAGNOSTICS_RELAY_E_INVALID_ARG when client or plist is NULL |
113 | */ | 113 | */ |
114 | webinspector_error_t webinspector_receive(webinspector_client_t client, plist_t * plist); | 114 | LIBIMOBILEDEVICE_API webinspector_error_t webinspector_receive(webinspector_client_t client, plist_t * plist); |
115 | 115 | ||
116 | /** | 116 | /** |
117 | * Receives a plist using the given webinspector client. | 117 | * Receives a plist using the given webinspector client. |
@@ -128,7 +128,7 @@ webinspector_error_t webinspector_receive(webinspector_client_t client, plist_t | |||
128 | * communication error occurs, or WEBINSPECTOR_E_UNKNOWN_ERROR | 128 | * communication error occurs, or WEBINSPECTOR_E_UNKNOWN_ERROR |
129 | * when an unspecified error occurs. | 129 | * when an unspecified error occurs. |
130 | */ | 130 | */ |
131 | webinspector_error_t webinspector_receive_with_timeout(webinspector_client_t client, plist_t * plist, uint32_t timeout_ms); | 131 | LIBIMOBILEDEVICE_API webinspector_error_t webinspector_receive_with_timeout(webinspector_client_t client, plist_t * plist, uint32_t timeout_ms); |
132 | 132 | ||
133 | #ifdef __cplusplus | 133 | #ifdef __cplusplus |
134 | } | 134 | } |