From 24ce2e27b47d3ad460680e02514f5bdbd4628724 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Wed, 28 Jan 2015 01:27:59 +0100 Subject: Remove trailing whitespace errors from all files --- include/endianness.h | 2 +- include/libimobiledevice/diagnostics_relay.h | 18 +++++++++--------- include/libimobiledevice/libimobiledevice.h | 22 +++++++++++----------- include/libimobiledevice/property_list_service.h | 6 +++--- include/libimobiledevice/service.h | 6 +++--- 5 files changed, 27 insertions(+), 27 deletions(-) (limited to 'include') 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 @@ | (((x) & 0x00000000FF000000ull) << 8) \ | (((x) & 0x0000000000FF0000ull) << 24) \ | (((x) & 0x000000000000FF00ull) << 40) \ - | (((x) & 0x00000000000000FFull) << 56)) + | (((x) & 0x00000000000000FFull) << 56)) #endif #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 * or DIAGNOSTICS_RELAY_E_MUX_ERROR when the connection failed. */ diagnostics_relay_error_t diagnostics_relay_client_new(idevice_t device, lockdownd_service_descriptor_t service, diagnostics_relay_client_t *client); - + /** * Starts a new diagnostics_relay service on the specified device and connects to it. * @@ -82,7 +82,7 @@ diagnostics_relay_error_t diagnostics_relay_client_new(idevice_t device, lockdow * code otherwise. */ diagnostics_relay_error_t diagnostics_relay_client_start_service(idevice_t device, diagnostics_relay_client_t* client, const char* label); - + /** * Disconnects a diagnostics_relay client from the device and frees up the * diagnostics_relay client data. @@ -96,7 +96,7 @@ diagnostics_relay_error_t diagnostics_relay_client_start_service(idevice_t devic */ diagnostics_relay_error_t diagnostics_relay_client_free(diagnostics_relay_client_t client); - + /** * Sends the Goodbye request signaling the end of communication. * @@ -108,7 +108,7 @@ diagnostics_relay_error_t diagnostics_relay_client_free(diagnostics_relay_client * request */ diagnostics_relay_error_t diagnostics_relay_goodbye(diagnostics_relay_client_t client); - + /** * Puts the device into deep sleep mode and disconnects from host. * @@ -120,7 +120,7 @@ diagnostics_relay_error_t diagnostics_relay_goodbye(diagnostics_relay_client_t c * request */ diagnostics_relay_error_t diagnostics_relay_sleep(diagnostics_relay_client_t client); - + /** * Restart the device and optionally show a user notification. * @@ -137,7 +137,7 @@ diagnostics_relay_error_t diagnostics_relay_sleep(diagnostics_relay_client_t cli * request */ diagnostics_relay_error_t diagnostics_relay_restart(diagnostics_relay_client_t client, int flags); - + /** * Shutdown of the device and optionally show a user notification. * @@ -171,11 +171,11 @@ diagnostics_relay_error_t diagnostics_relay_shutdown(diagnostics_relay_client_t * request */ diagnostics_relay_error_t diagnostics_relay_request_diagnostics(diagnostics_relay_client_t client, const char* type, plist_t* diagnostics); - + diagnostics_relay_error_t diagnostics_relay_query_mobilegestalt(diagnostics_relay_client_t client, plist_t keys, plist_t* result); - + diagnostics_relay_error_t diagnostics_relay_query_ioregistry_entry(diagnostics_relay_client_t client, const char* name, const char* class, plist_t* result); - + diagnostics_relay_error_t diagnostics_relay_query_ioregistry_plane(diagnostics_relay_client_t client, const char* plane, plist_t* result); #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 @@ * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. - * + * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef IMOBILEDEVICE_H @@ -122,7 +122,7 @@ idevice_error_t idevice_get_device_list(char ***devices, int *count); idevice_error_t idevice_device_list_free(char **devices); /* device structure creation and destruction */ - + /** * Creates an idevice_t structure for the device specified by udid, * if the device is available. @@ -148,7 +148,7 @@ idevice_error_t idevice_new(idevice_t *device, const char *udid); idevice_error_t idevice_free(idevice_t device); /* connection/disconnection */ - + /** * Set up a connection to the given device. * @@ -171,7 +171,7 @@ idevice_error_t idevice_connect(idevice_t device, uint16_t port, idevice_connect idevice_error_t idevice_disconnect(idevice_connection_t connection); /* communication */ - + /** * Send data to a device via the given connection. * @@ -201,7 +201,7 @@ idevice_error_t idevice_connection_send(idevice_connection_t connection, const c * @return IDEVICE_E_SUCCESS if ok, otherwise an error code. */ idevice_error_t idevice_connection_receive_timeout(idevice_connection_t connection, char *data, uint32_t len, uint32_t *recv_bytes, unsigned int timeout); - + /** * Receive data from a device via the given connection. * 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 * @return IDEVICE_E_SUCCESS if ok, otherwise an error code. */ idevice_error_t idevice_connection_receive(idevice_connection_t connection, char *data, uint32_t len, uint32_t *recv_bytes); - + /** * Enables SSL for the given connection. * @@ -227,7 +227,7 @@ idevice_error_t idevice_connection_receive(idevice_connection_t connection, char * SSL initialization, setup, or handshake fails. */ idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection); - + /** * Disable SSL for the given connection. * @@ -240,12 +240,12 @@ idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection); idevice_error_t idevice_connection_disable_ssl(idevice_connection_t connection); /* misc */ - + /** * Gets the handle of the device. Depends on the connection type. */ idevice_error_t idevice_get_handle(idevice_t device, uint32_t *handle); - + /** * Gets the unique id for the device. */ 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 @@ * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. - * + * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #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 @@ * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. - * + * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef ISERVICE_H -- cgit v1.1-32-gdbae