summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/endianness.h2
-rw-r--r--include/libimobiledevice/diagnostics_relay.h18
-rw-r--r--include/libimobiledevice/libimobiledevice.h22
-rw-r--r--include/libimobiledevice/property_list_service.h6
-rw-r--r--include/libimobiledevice/service.h6
5 files changed, 27 insertions, 27 deletions
diff --git a/include/endianness.h b/include/endianness.h
index 9dfcd0c..585e768 100644
--- a/include/endianness.h
+++ b/include/endianness.h
@@ -66,7 +66,7 @@
66 | (((x) & 0x00000000FF000000ull) << 8) \ 66 | (((x) & 0x00000000FF000000ull) << 8) \
67 | (((x) & 0x0000000000FF0000ull) << 24) \ 67 | (((x) & 0x0000000000FF0000ull) << 24) \
68 | (((x) & 0x000000000000FF00ull) << 40) \ 68 | (((x) & 0x000000000000FF00ull) << 40) \
69 | (((x) & 0x00000000000000FFull) << 56)) 69 | (((x) & 0x00000000000000FFull) << 56))
70#endif 70#endif
71 71
72#ifndef htobe64 72#ifndef htobe64
diff --git a/include/libimobiledevice/diagnostics_relay.h b/include/libimobiledevice/diagnostics_relay.h
index f8eda2b..97ac363 100644
--- a/include/libimobiledevice/diagnostics_relay.h
+++ b/include/libimobiledevice/diagnostics_relay.h
@@ -67,7 +67,7 @@ typedef diagnostics_relay_client_private *diagnostics_relay_client_t; /**< The c
67 * or DIAGNOSTICS_RELAY_E_MUX_ERROR when the connection failed. 67 * or DIAGNOSTICS_RELAY_E_MUX_ERROR when the connection failed.
68 */ 68 */
69diagnostics_relay_error_t diagnostics_relay_client_new(idevice_t device, lockdownd_service_descriptor_t service, diagnostics_relay_client_t *client); 69diagnostics_relay_error_t diagnostics_relay_client_new(idevice_t device, lockdownd_service_descriptor_t service, diagnostics_relay_client_t *client);
70 70
71/** 71/**
72 * Starts a new diagnostics_relay service on the specified device and connects to it. 72 * Starts a new diagnostics_relay service on the specified device and connects to it.
73 * 73 *
@@ -82,7 +82,7 @@ diagnostics_relay_error_t diagnostics_relay_client_new(idevice_t device, lockdow
82 * code otherwise. 82 * code otherwise.
83 */ 83 */
84diagnostics_relay_error_t diagnostics_relay_client_start_service(idevice_t device, diagnostics_relay_client_t* client, const char* label); 84diagnostics_relay_error_t diagnostics_relay_client_start_service(idevice_t device, diagnostics_relay_client_t* client, const char* label);
85 85
86/** 86/**
87 * Disconnects a diagnostics_relay client from the device and frees up the 87 * Disconnects a diagnostics_relay client from the device and frees up the
88 * diagnostics_relay client data. 88 * diagnostics_relay client data.
@@ -96,7 +96,7 @@ diagnostics_relay_error_t diagnostics_relay_client_start_service(idevice_t devic
96 */ 96 */
97diagnostics_relay_error_t diagnostics_relay_client_free(diagnostics_relay_client_t client); 97diagnostics_relay_error_t diagnostics_relay_client_free(diagnostics_relay_client_t client);
98 98
99 99
100/** 100/**
101 * Sends the Goodbye request signaling the end of communication. 101 * Sends the Goodbye request signaling the end of communication.
102 * 102 *
@@ -108,7 +108,7 @@ diagnostics_relay_error_t diagnostics_relay_client_free(diagnostics_relay_client
108 * request 108 * request
109 */ 109 */
110diagnostics_relay_error_t diagnostics_relay_goodbye(diagnostics_relay_client_t client); 110diagnostics_relay_error_t diagnostics_relay_goodbye(diagnostics_relay_client_t client);
111 111
112/** 112/**
113 * Puts the device into deep sleep mode and disconnects from host. 113 * Puts the device into deep sleep mode and disconnects from host.
114 * 114 *
@@ -120,7 +120,7 @@ diagnostics_relay_error_t diagnostics_relay_goodbye(diagnostics_relay_client_t c
120 * request 120 * request
121 */ 121 */
122diagnostics_relay_error_t diagnostics_relay_sleep(diagnostics_relay_client_t client); 122diagnostics_relay_error_t diagnostics_relay_sleep(diagnostics_relay_client_t client);
123 123
124/** 124/**
125 * Restart the device and optionally show a user notification. 125 * Restart the device and optionally show a user notification.
126 * 126 *
@@ -137,7 +137,7 @@ diagnostics_relay_error_t diagnostics_relay_sleep(diagnostics_relay_client_t cli
137 * request 137 * request
138 */ 138 */
139diagnostics_relay_error_t diagnostics_relay_restart(diagnostics_relay_client_t client, int flags); 139diagnostics_relay_error_t diagnostics_relay_restart(diagnostics_relay_client_t client, int flags);
140 140
141/** 141/**
142 * Shutdown of the device and optionally show a user notification. 142 * Shutdown of the device and optionally show a user notification.
143 * 143 *
@@ -171,11 +171,11 @@ diagnostics_relay_error_t diagnostics_relay_shutdown(diagnostics_relay_client_t
171 * request 171 * request
172 */ 172 */
173diagnostics_relay_error_t diagnostics_relay_request_diagnostics(diagnostics_relay_client_t client, const char* type, plist_t* diagnostics); 173diagnostics_relay_error_t diagnostics_relay_request_diagnostics(diagnostics_relay_client_t client, const char* type, plist_t* diagnostics);
174 174
175diagnostics_relay_error_t diagnostics_relay_query_mobilegestalt(diagnostics_relay_client_t client, plist_t keys, plist_t* result); 175diagnostics_relay_error_t diagnostics_relay_query_mobilegestalt(diagnostics_relay_client_t client, plist_t keys, plist_t* result);
176 176
177diagnostics_relay_error_t diagnostics_relay_query_ioregistry_entry(diagnostics_relay_client_t client, const char* name, const char* class, plist_t* result); 177diagnostics_relay_error_t diagnostics_relay_query_ioregistry_entry(diagnostics_relay_client_t client, const char* name, const char* class, plist_t* result);
178 178
179diagnostics_relay_error_t diagnostics_relay_query_ioregistry_plane(diagnostics_relay_client_t client, const char* plane, plist_t* result); 179diagnostics_relay_error_t diagnostics_relay_query_ioregistry_plane(diagnostics_relay_client_t client, const char* plane, plist_t* result);
180 180
181#ifdef __cplusplus 181#ifdef __cplusplus
diff --git a/include/libimobiledevice/libimobiledevice.h b/include/libimobiledevice/libimobiledevice.h
index 6a349f8..016cadb 100644
--- a/include/libimobiledevice/libimobiledevice.h
+++ b/include/libimobiledevice/libimobiledevice.h
@@ -11,15 +11,15 @@
11 * modify it under the terms of the GNU Lesser General Public 11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either 12 * License as published by the Free Software Foundation; either
13 * version 2.1 of the License, or (at your option) any later version. 13 * version 2.1 of the License, or (at your option) any later version.
14 * 14 *
15 * This library is distributed in the hope that it will be useful, 15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details. 18 * Lesser General Public License for more details.
19 * 19 *
20 * You should have received a copy of the GNU Lesser General Public 20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the Free Software 21 * License along with this library; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 */ 23 */
24 24
25#ifndef IMOBILEDEVICE_H 25#ifndef IMOBILEDEVICE_H
@@ -122,7 +122,7 @@ idevice_error_t idevice_get_device_list(char ***devices, int *count);
122idevice_error_t idevice_device_list_free(char **devices); 122idevice_error_t idevice_device_list_free(char **devices);
123 123
124/* device structure creation and destruction */ 124/* device structure creation and destruction */
125 125
126/** 126/**
127 * Creates an idevice_t structure for the device specified by udid, 127 * Creates an idevice_t structure for the device specified by udid,
128 * if the device is available. 128 * if the device is available.
@@ -148,7 +148,7 @@ idevice_error_t idevice_new(idevice_t *device, const char *udid);
148idevice_error_t idevice_free(idevice_t device); 148idevice_error_t idevice_free(idevice_t device);
149 149
150/* connection/disconnection */ 150/* connection/disconnection */
151 151
152/** 152/**
153 * Set up a connection to the given device. 153 * Set up a connection to the given device.
154 * 154 *
@@ -171,7 +171,7 @@ idevice_error_t idevice_connect(idevice_t device, uint16_t port, idevice_connect
171idevice_error_t idevice_disconnect(idevice_connection_t connection); 171idevice_error_t idevice_disconnect(idevice_connection_t connection);
172 172
173/* communication */ 173/* communication */
174 174
175/** 175/**
176 * Send data to a device via the given connection. 176 * Send data to a device via the given connection.
177 * 177 *
@@ -201,7 +201,7 @@ idevice_error_t idevice_connection_send(idevice_connection_t connection, const c
201 * @return IDEVICE_E_SUCCESS if ok, otherwise an error code. 201 * @return IDEVICE_E_SUCCESS if ok, otherwise an error code.
202 */ 202 */
203idevice_error_t idevice_connection_receive_timeout(idevice_connection_t connection, char *data, uint32_t len, uint32_t *recv_bytes, unsigned int timeout); 203idevice_error_t idevice_connection_receive_timeout(idevice_connection_t connection, char *data, uint32_t len, uint32_t *recv_bytes, unsigned int timeout);
204 204
205/** 205/**
206 * Receive data from a device via the given connection. 206 * Receive data from a device via the given connection.
207 * This function is like idevice_connection_receive_timeout, but with a 207 * This function is like idevice_connection_receive_timeout, but with a
@@ -216,7 +216,7 @@ idevice_error_t idevice_connection_receive_timeout(idevice_connection_t connecti
216 * @return IDEVICE_E_SUCCESS if ok, otherwise an error code. 216 * @return IDEVICE_E_SUCCESS if ok, otherwise an error code.
217 */ 217 */
218idevice_error_t idevice_connection_receive(idevice_connection_t connection, char *data, uint32_t len, uint32_t *recv_bytes); 218idevice_error_t idevice_connection_receive(idevice_connection_t connection, char *data, uint32_t len, uint32_t *recv_bytes);
219 219
220/** 220/**
221 * Enables SSL for the given connection. 221 * Enables SSL for the given connection.
222 * 222 *
@@ -227,7 +227,7 @@ idevice_error_t idevice_connection_receive(idevice_connection_t connection, char
227 * SSL initialization, setup, or handshake fails. 227 * SSL initialization, setup, or handshake fails.
228 */ 228 */
229idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection); 229idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection);
230 230
231/** 231/**
232 * Disable SSL for the given connection. 232 * Disable SSL for the given connection.
233 * 233 *
@@ -240,12 +240,12 @@ idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection);
240idevice_error_t idevice_connection_disable_ssl(idevice_connection_t connection); 240idevice_error_t idevice_connection_disable_ssl(idevice_connection_t connection);
241 241
242/* misc */ 242/* misc */
243 243
244/** 244/**
245 * Gets the handle of the device. Depends on the connection type. 245 * Gets the handle of the device. Depends on the connection type.
246 */ 246 */
247idevice_error_t idevice_get_handle(idevice_t device, uint32_t *handle); 247idevice_error_t idevice_get_handle(idevice_t device, uint32_t *handle);
248 248
249/** 249/**
250 * Gets the unique id for the device. 250 * Gets the unique id for the device.
251 */ 251 */
diff --git a/include/libimobiledevice/property_list_service.h b/include/libimobiledevice/property_list_service.h
index 31ba99a..5d5b835 100644
--- a/include/libimobiledevice/property_list_service.h
+++ b/include/libimobiledevice/property_list_service.h
@@ -10,15 +10,15 @@
10 * modify it under the terms of the GNU Lesser General Public 10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either 11 * License as published by the Free Software Foundation; either
12 * version 2.1 of the License, or (at your option) any later version. 12 * version 2.1 of the License, or (at your option) any later version.
13 * 13 *
14 * This library is distributed in the hope that it will be useful, 14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details. 17 * Lesser General Public License for more details.
18 * 18 *
19 * You should have received a copy of the GNU Lesser General Public 19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software 20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 */ 22 */
23 23
24#ifndef IPROPERTY_LIST_SERVICE_H 24#ifndef IPROPERTY_LIST_SERVICE_H
diff --git a/include/libimobiledevice/service.h b/include/libimobiledevice/service.h
index 97f9cf1..13c5df1 100644
--- a/include/libimobiledevice/service.h
+++ b/include/libimobiledevice/service.h
@@ -9,15 +9,15 @@
9 * modify it under the terms of the GNU Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version. 11 * version 2.1 of the License, or (at your option) any later version.
12 * 12 *
13 * This library is distributed in the hope that it will be useful, 13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details. 16 * Lesser General Public License for more details.
17 * 17 *
18 * You should have received a copy of the GNU Lesser General Public 18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software 19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */ 21 */
22 22
23#ifndef ISERVICE_H 23#ifndef ISERVICE_H