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/property_list_service.h | |
parent | f723a44513eb5ba5797da24bc2b63d9f09600a6e (diff) | |
download | libimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.gz libimobiledevice-63bbac545efc400373a7f472fdd78174149119c3.tar.bz2 |
Move LIBIMOBILEDEVICE_API to public headers
Diffstat (limited to 'include/libimobiledevice/property_list_service.h')
-rw-r--r-- | include/libimobiledevice/property_list_service.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/libimobiledevice/property_list_service.h b/include/libimobiledevice/property_list_service.h index 3f6ebad..e6b26a3 100644 --- a/include/libimobiledevice/property_list_service.h +++ b/include/libimobiledevice/property_list_service.h | |||
@@ -60,7 +60,7 @@ typedef property_list_service_private* property_list_service_client_t; /**< The | |||
60 | * PROPERTY_LIST_SERVICE_E_INVALID_ARG when one of the arguments is invalid, | 60 | * PROPERTY_LIST_SERVICE_E_INVALID_ARG when one of the arguments is invalid, |
61 | * or PROPERTY_LIST_SERVICE_E_MUX_ERROR when connecting to the device failed. | 61 | * or PROPERTY_LIST_SERVICE_E_MUX_ERROR when connecting to the device failed. |
62 | */ | 62 | */ |
63 | property_list_service_error_t property_list_service_client_new(idevice_t device, lockdownd_service_descriptor_t service, property_list_service_client_t *client); | 63 | LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_client_new(idevice_t device, lockdownd_service_descriptor_t service, property_list_service_client_t *client); |
64 | 64 | ||
65 | /** | 65 | /** |
66 | * Frees a PropertyList service. | 66 | * Frees a PropertyList service. |
@@ -71,7 +71,7 @@ property_list_service_error_t property_list_service_client_new(idevice_t device, | |||
71 | * PROPERTY_LIST_SERVICE_E_INVALID_ARG when client is invalid, or a | 71 | * PROPERTY_LIST_SERVICE_E_INVALID_ARG when client is invalid, or a |
72 | * PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR when another error occurred. | 72 | * PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR when another error occurred. |
73 | */ | 73 | */ |
74 | property_list_service_error_t property_list_service_client_free(property_list_service_client_t client); | 74 | LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_client_free(property_list_service_client_t client); |
75 | 75 | ||
76 | /** | 76 | /** |
77 | * Sends an XML plist. | 77 | * Sends an XML plist. |
@@ -84,7 +84,7 @@ property_list_service_error_t property_list_service_client_free(property_list_se | |||
84 | * PROPERTY_LIST_SERVICE_E_PLIST_ERROR when dict is not a valid plist, | 84 | * PROPERTY_LIST_SERVICE_E_PLIST_ERROR when dict is not a valid plist, |
85 | * or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR when an unspecified error occurs. | 85 | * or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR when an unspecified error occurs. |
86 | */ | 86 | */ |
87 | property_list_service_error_t property_list_service_send_xml_plist(property_list_service_client_t client, plist_t plist); | 87 | LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_send_xml_plist(property_list_service_client_t client, plist_t plist); |
88 | 88 | ||
89 | /** | 89 | /** |
90 | * Sends a binary plist. | 90 | * Sends a binary plist. |
@@ -97,7 +97,7 @@ property_list_service_error_t property_list_service_send_xml_plist(property_list | |||
97 | * PROPERTY_LIST_SERVICE_E_PLIST_ERROR when dict is not a valid plist, | 97 | * PROPERTY_LIST_SERVICE_E_PLIST_ERROR when dict is not a valid plist, |
98 | * or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR when an unspecified error occurs. | 98 | * or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR when an unspecified error occurs. |
99 | */ | 99 | */ |
100 | property_list_service_error_t property_list_service_send_binary_plist(property_list_service_client_t client, plist_t plist); | 100 | LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_send_binary_plist(property_list_service_client_t client, plist_t plist); |
101 | 101 | ||
102 | /** | 102 | /** |
103 | * Receives a plist using the given property list service client with specified | 103 | * Receives a plist using the given property list service client with specified |
@@ -116,7 +116,7 @@ property_list_service_error_t property_list_service_send_binary_plist(property_l | |||
116 | * communication error occurs, or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR when | 116 | * communication error occurs, or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR when |
117 | * an unspecified error occurs. | 117 | * an unspecified error occurs. |
118 | */ | 118 | */ |
119 | property_list_service_error_t property_list_service_receive_plist_with_timeout(property_list_service_client_t client, plist_t *plist, unsigned int timeout); | 119 | LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_receive_plist_with_timeout(property_list_service_client_t client, plist_t *plist, unsigned int timeout); |
120 | 120 | ||
121 | /** | 121 | /** |
122 | * Receives a plist using the given property list service client. | 122 | * Receives a plist using the given property list service client. |
@@ -139,7 +139,7 @@ property_list_service_error_t property_list_service_receive_plist_with_timeout(p | |||
139 | * communication error occurs, or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR when | 139 | * communication error occurs, or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR when |
140 | * an unspecified error occurs. | 140 | * an unspecified error occurs. |
141 | */ | 141 | */ |
142 | property_list_service_error_t property_list_service_receive_plist(property_list_service_client_t client, plist_t *plist); | 142 | LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_receive_plist(property_list_service_client_t client, plist_t *plist); |
143 | 143 | ||
144 | /** | 144 | /** |
145 | * Enable SSL for the given property list service client. | 145 | * Enable SSL for the given property list service client. |
@@ -152,7 +152,7 @@ property_list_service_error_t property_list_service_receive_plist(property_list_ | |||
152 | * PROPERTY_LIST_SERVICE_E_SSL_ERROR when SSL could not be enabled, | 152 | * PROPERTY_LIST_SERVICE_E_SSL_ERROR when SSL could not be enabled, |
153 | * or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR otherwise. | 153 | * or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR otherwise. |
154 | */ | 154 | */ |
155 | property_list_service_error_t property_list_service_enable_ssl(property_list_service_client_t client); | 155 | LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_enable_ssl(property_list_service_client_t client); |
156 | 156 | ||
157 | /** | 157 | /** |
158 | * Disable SSL for the given property list service client. | 158 | * Disable SSL for the given property list service client. |
@@ -164,7 +164,7 @@ property_list_service_error_t property_list_service_enable_ssl(property_list_ser | |||
164 | * PROPERTY_LIST_SERVICE_E_INVALID_ARG if one or more of the arguments are invalid, | 164 | * PROPERTY_LIST_SERVICE_E_INVALID_ARG if one or more of the arguments are invalid, |
165 | * or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR otherwise. | 165 | * or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR otherwise. |
166 | */ | 166 | */ |
167 | property_list_service_error_t property_list_service_disable_ssl(property_list_service_client_t client); | 167 | LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_disable_ssl(property_list_service_client_t client); |
168 | 168 | ||
169 | /** | 169 | /** |
170 | * Return a handle to the parent #service_client_t of the given property list service client. | 170 | * Return a handle to the parent #service_client_t of the given property list service client. |
@@ -175,7 +175,7 @@ property_list_service_error_t property_list_service_disable_ssl(property_list_se | |||
175 | * @return PROPERTY_LIST_SERVICE_E_SUCCESS on success, | 175 | * @return PROPERTY_LIST_SERVICE_E_SUCCESS on success, |
176 | * PROPERTY_LIST_SERVICE_E_INVALID_ARG if one or more of the arguments are invalid. | 176 | * PROPERTY_LIST_SERVICE_E_INVALID_ARG if one or more of the arguments are invalid. |
177 | */ | 177 | */ |
178 | property_list_service_error_t property_list_service_get_service_client(property_list_service_client_t client, service_client_t *service_client); | 178 | LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_get_service_client(property_list_service_client_t client, service_client_t *service_client); |
179 | 179 | ||
180 | #ifdef __cplusplus | 180 | #ifdef __cplusplus |
181 | } | 181 | } |