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/heartbeat.h | |
parent | f723a44513eb5ba5797da24bc2b63d9f09600a6e (diff) | |
download | libimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.gz libimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.bz2 |
Move LIBIMOBILEDEVICE_API to public headers
Diffstat (limited to 'include/libimobiledevice/heartbeat.h')
-rw-r--r-- | include/libimobiledevice/heartbeat.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/libimobiledevice/heartbeat.h b/include/libimobiledevice/heartbeat.h index 42b318d..4074b8b 100644 --- a/include/libimobiledevice/heartbeat.h +++ b/include/libimobiledevice/heartbeat.h | |||
@@ -60,7 +60,7 @@ typedef heartbeat_client_private *heartbeat_client_t; /**< The client handle. */ | |||
60 | * @return HEARTBEAT_E_SUCCESS on success, HEARTBEAT_E_INVALID_ARG when | 60 | * @return HEARTBEAT_E_SUCCESS on success, HEARTBEAT_E_INVALID_ARG when |
61 | * client is NULL, or an HEARTBEAT_E_* error code otherwise. | 61 | * client is NULL, or an HEARTBEAT_E_* error code otherwise. |
62 | */ | 62 | */ |
63 | heartbeat_error_t heartbeat_client_new(idevice_t device, lockdownd_service_descriptor_t service, heartbeat_client_t * client); | 63 | LIBIMOBILEDEVICE_API heartbeat_error_t heartbeat_client_new(idevice_t device, lockdownd_service_descriptor_t service, heartbeat_client_t * client); |
64 | 64 | ||
65 | /** | 65 | /** |
66 | * Starts a new heartbeat service on the specified device and connects to it. | 66 | * Starts a new heartbeat service on the specified device and connects to it. |
@@ -75,7 +75,7 @@ heartbeat_error_t heartbeat_client_new(idevice_t device, lockdownd_service_descr | |||
75 | * @return HEARTBEAT_E_SUCCESS on success, or an HEARTBEAT_E_* error | 75 | * @return HEARTBEAT_E_SUCCESS on success, or an HEARTBEAT_E_* error |
76 | * code otherwise. | 76 | * code otherwise. |
77 | */ | 77 | */ |
78 | heartbeat_error_t heartbeat_client_start_service(idevice_t device, heartbeat_client_t * client, const char* label); | 78 | LIBIMOBILEDEVICE_API heartbeat_error_t heartbeat_client_start_service(idevice_t device, heartbeat_client_t * client, const char* label); |
79 | 79 | ||
80 | /** | 80 | /** |
81 | * Disconnects a heartbeat client from the device and frees up the | 81 | * Disconnects a heartbeat client from the device and frees up the |
@@ -86,7 +86,7 @@ heartbeat_error_t heartbeat_client_start_service(idevice_t device, heartbeat_cli | |||
86 | * @return HEARTBEAT_E_SUCCESS on success, HEARTBEAT_E_INVALID_ARG when | 86 | * @return HEARTBEAT_E_SUCCESS on success, HEARTBEAT_E_INVALID_ARG when |
87 | * client is NULL, or an HEARTBEAT_E_* error code otherwise. | 87 | * client is NULL, or an HEARTBEAT_E_* error code otherwise. |
88 | */ | 88 | */ |
89 | heartbeat_error_t heartbeat_client_free(heartbeat_client_t client); | 89 | LIBIMOBILEDEVICE_API heartbeat_error_t heartbeat_client_free(heartbeat_client_t client); |
90 | 90 | ||
91 | 91 | ||
92 | /** | 92 | /** |
@@ -98,7 +98,7 @@ heartbeat_error_t heartbeat_client_free(heartbeat_client_t client); | |||
98 | * @return HEARTBEAT_E_SUCCESS on success, | 98 | * @return HEARTBEAT_E_SUCCESS on success, |
99 | * HEARTBEAT_E_INVALID_ARG when client or plist is NULL | 99 | * HEARTBEAT_E_INVALID_ARG when client or plist is NULL |
100 | */ | 100 | */ |
101 | heartbeat_error_t heartbeat_send(heartbeat_client_t client, plist_t plist); | 101 | LIBIMOBILEDEVICE_API heartbeat_error_t heartbeat_send(heartbeat_client_t client, plist_t plist); |
102 | 102 | ||
103 | /** | 103 | /** |
104 | * Receives a plist from the service. | 104 | * Receives a plist from the service. |
@@ -109,7 +109,7 @@ heartbeat_error_t heartbeat_send(heartbeat_client_t client, plist_t plist); | |||
109 | * @return HEARTBEAT_E_SUCCESS on success, | 109 | * @return HEARTBEAT_E_SUCCESS on success, |
110 | * HEARTBEAT_E_INVALID_ARG when client or plist is NULL | 110 | * HEARTBEAT_E_INVALID_ARG when client or plist is NULL |
111 | */ | 111 | */ |
112 | heartbeat_error_t heartbeat_receive(heartbeat_client_t client, plist_t * plist); | 112 | LIBIMOBILEDEVICE_API heartbeat_error_t heartbeat_receive(heartbeat_client_t client, plist_t * plist); |
113 | 113 | ||
114 | /** | 114 | /** |
115 | * Receives a plist using the given heartbeat client. | 115 | * Receives a plist using the given heartbeat client. |
@@ -128,7 +128,7 @@ heartbeat_error_t heartbeat_receive(heartbeat_client_t client, plist_t * plist); | |||
128 | * communication error occurs, or HEARTBEAT_E_UNKNOWN_ERROR | 128 | * communication error occurs, or HEARTBEAT_E_UNKNOWN_ERROR |
129 | * when an unspecified error occurs. | 129 | * when an unspecified error occurs. |
130 | */ | 130 | */ |
131 | heartbeat_error_t heartbeat_receive_with_timeout(heartbeat_client_t client, plist_t * plist, uint32_t timeout_ms); | 131 | LIBIMOBILEDEVICE_API heartbeat_error_t heartbeat_receive_with_timeout(heartbeat_client_t client, plist_t * plist, uint32_t timeout_ms); |
132 | 132 | ||
133 | #ifdef __cplusplus | 133 | #ifdef __cplusplus |
134 | } | 134 | } |