diff options
| author | 2015-01-28 01:27:59 +0100 | |
|---|---|---|
| committer | 2015-01-28 01:27:59 +0100 | |
| commit | 24ce2e27b47d3ad460680e02514f5bdbd4628724 (patch) | |
| tree | ff174ebb7deab82d1f9c031d147e47e01bf47d3a /src | |
| parent | c9d8013c1a6d69ef8b6024166629413e481e185d (diff) | |
| download | libimobiledevice-24ce2e27b47d3ad460680e02514f5bdbd4628724.tar.gz libimobiledevice-24ce2e27b47d3ad460680e02514f5bdbd4628724.tar.bz2 | |
Remove trailing whitespace errors from all files
Diffstat (limited to 'src')
44 files changed, 208 insertions, 208 deletions
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * afc.c | 2 | * afc.c |
| 3 | * Contains functions for the built-in AFC client. | 3 | * Contains functions for the built-in AFC client. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2014 Martin Szulecki All Rights Reserved. | 5 | * Copyright (c) 2014 Martin Szulecki All Rights Reserved. |
| 6 | * Copyright (c) 2009-2014 Nikias Bassen. All Rights Reserved. | 6 | * Copyright (c) 2009-2014 Nikias Bassen. All Rights Reserved. |
| 7 | * Copyright (c) 2008 Zach C. All Rights Reserved. | 7 | * Copyright (c) 2008 Zach C. All Rights Reserved. |
| @@ -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 | #ifdef HAVE_CONFIG_H | 24 | #ifdef HAVE_CONFIG_H |
| @@ -36,7 +36,7 @@ | |||
| 36 | 36 | ||
| 37 | /** | 37 | /** |
| 38 | * Locks an AFC client, done for thread safety stuff | 38 | * Locks an AFC client, done for thread safety stuff |
| 39 | * | 39 | * |
| 40 | * @param client The AFC client connection to lock | 40 | * @param client The AFC client connection to lock |
| 41 | */ | 41 | */ |
| 42 | static void afc_lock(afc_client_t client) | 42 | static void afc_lock(afc_client_t client) |
| @@ -47,8 +47,8 @@ static void afc_lock(afc_client_t client) | |||
| 47 | 47 | ||
| 48 | /** | 48 | /** |
| 49 | * Unlocks an AFC client, done for thread safety stuff. | 49 | * Unlocks an AFC client, done for thread safety stuff. |
| 50 | * | 50 | * |
| 51 | * @param client The AFC | 51 | * @param client The AFC |
| 52 | */ | 52 | */ |
| 53 | static void afc_unlock(afc_client_t client) | 53 | static void afc_unlock(afc_client_t client) |
| 54 | { | 54 | { |
| @@ -63,7 +63,7 @@ static void afc_unlock(afc_client_t client) | |||
| 63 | * @param service_client A connected service client | 63 | * @param service_client A connected service client |
| 64 | * @param client Pointer that will be set to a newly allocated afc_client_t | 64 | * @param client Pointer that will be set to a newly allocated afc_client_t |
| 65 | * upon successful return. | 65 | * upon successful return. |
| 66 | * | 66 | * |
| 67 | * @return AFC_E_SUCCESS on success, AFC_E_INVALID_ARG if connection is | 67 | * @return AFC_E_SUCCESS on success, AFC_E_INVALID_ARG if connection is |
| 68 | * invalid, or AFC_E_NO_MEM if there is a memory allocation problem. | 68 | * invalid, or AFC_E_NO_MEM if there is a memory allocation problem. |
| 69 | */ | 69 | */ |
| @@ -139,7 +139,7 @@ LIBIMOBILEDEVICE_API afc_error_t afc_client_free(afc_client_t client) | |||
| 139 | 139 | ||
| 140 | /** | 140 | /** |
| 141 | * Dispatches an AFC packet over a client. | 141 | * Dispatches an AFC packet over a client. |
| 142 | * | 142 | * |
| 143 | * @param client The client to send data through. | 143 | * @param client The client to send data through. |
| 144 | * @param operation The operation to perform. | 144 | * @param operation The operation to perform. |
| 145 | * @param data The data to send together with the header. | 145 | * @param data The data to send together with the header. |
| @@ -211,11 +211,11 @@ static afc_error_t afc_dispatch_packet(afc_client_t client, uint64_t operation, | |||
| 211 | 211 | ||
| 212 | /** | 212 | /** |
| 213 | * Receives data through an AFC client and sets a variable to the received data. | 213 | * Receives data through an AFC client and sets a variable to the received data. |
| 214 | * | 214 | * |
| 215 | * @param client The client to receive data on. | 215 | * @param client The client to receive data on. |
| 216 | * @param bytes The char* to point to the newly-received data. | 216 | * @param bytes The char* to point to the newly-received data. |
| 217 | * @param bytes_recv How much data was received. | 217 | * @param bytes_recv How much data was received. |
| 218 | * | 218 | * |
| 219 | * @return AFC_E_SUCCESS on success or an AFC_E_* error value. | 219 | * @return AFC_E_SUCCESS on success or an AFC_E_* error value. |
| 220 | */ | 220 | */ |
| 221 | static afc_error_t afc_receive_data(afc_client_t client, char **bytes, uint32_t *bytes_recv) | 221 | static afc_error_t afc_receive_data(afc_client_t client, char **bytes, uint32_t *bytes_recv) |
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * afc.h | 2 | * afc.h |
| 3 | * Defines and structs and the like for the built-in AFC client | 3 | * Defines and structs and the like for the built-in AFC client |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2014 Martin Szulecki All Rights Reserved. | 5 | * Copyright (c) 2014 Martin Szulecki All Rights Reserved. |
| 6 | * Copyright (c) 2008 Zach C. All Rights Reserved. | 6 | * Copyright (c) 2008 Zach C. All Rights Reserved. |
| 7 | * | 7 | * |
| @@ -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 __AFC_H | 23 | #ifndef __AFC_H |
diff --git a/src/debugserver.c b/src/debugserver.c index 0aec260..41546dd 100644 --- a/src/debugserver.c +++ b/src/debugserver.c | |||
| @@ -1,19 +1,19 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * debugserver.c | 2 | * debugserver.c |
| 3 | * com.apple.debugserver service implementation. | 3 | * com.apple.debugserver service implementation. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2014 Martin Szulecki All Rights Reserved. | 5 | * Copyright (c) 2014 Martin Szulecki All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
diff --git a/src/debugserver.h b/src/debugserver.h index 8608167..05cd97b 100644 --- a/src/debugserver.h +++ b/src/debugserver.h | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * debugserver.h | 2 | * debugserver.h |
| 3 | * com.apple.debugserver service header file. | 3 | * com.apple.debugserver service header file. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2014 Martin Szulecki All Rights Reserved. | 5 | * Copyright (c) 2014 Martin Szulecki All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef _DEBUGSERVER_H | 22 | #ifndef _DEBUGSERVER_H |
diff --git a/src/device_link_service.c b/src/device_link_service.c index e9ca5f6..007223e 100644 --- a/src/device_link_service.c +++ b/src/device_link_service.c | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * device_link_service.c | 2 | * device_link_service.c |
| 3 | * DeviceLink service implementation. | 3 | * DeviceLink service implementation. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2010 Nikias Bassen, All Rights Reserved. | 5 | * Copyright (c) 2010 Nikias Bassen, All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #include <string.h> | 21 | #include <string.h> |
| 22 | #include <stdlib.h> | 22 | #include <stdlib.h> |
| @@ -149,7 +149,7 @@ device_link_service_error_t device_link_service_version_exchange(device_link_ser | |||
| 149 | { | 149 | { |
| 150 | if (!client) | 150 | if (!client) |
| 151 | return DEVICE_LINK_SERVICE_E_INVALID_ARG; | 151 | return DEVICE_LINK_SERVICE_E_INVALID_ARG; |
| 152 | 152 | ||
| 153 | device_link_service_error_t err = DEVICE_LINK_SERVICE_E_UNKNOWN_ERROR; | 153 | device_link_service_error_t err = DEVICE_LINK_SERVICE_E_UNKNOWN_ERROR; |
| 154 | 154 | ||
| 155 | /* perform version exchange */ | 155 | /* perform version exchange */ |
| @@ -240,7 +240,7 @@ leave: | |||
| 240 | * | 240 | * |
| 241 | * @param client The device link service client to disconnect. | 241 | * @param client The device link service client to disconnect. |
| 242 | * @param message Optional message to send send to the device or NULL. | 242 | * @param message Optional message to send send to the device or NULL. |
| 243 | * | 243 | * |
| 244 | * @return DEVICE_LINK_SERVICE_E_SUCCESS on success, | 244 | * @return DEVICE_LINK_SERVICE_E_SUCCESS on success, |
| 245 | * DEVICE_LINK_SERVICE_E_INVALID_ARG if client is NULL, | 245 | * DEVICE_LINK_SERVICE_E_INVALID_ARG if client is NULL, |
| 246 | * or DEVICE_LINK_SERVICE_E_MUX_ERROR when there's an error when sending | 246 | * or DEVICE_LINK_SERVICE_E_MUX_ERROR when there's an error when sending |
diff --git a/src/device_link_service.h b/src/device_link_service.h index 2469877..a0c8390 100644 --- a/src/device_link_service.h +++ b/src/device_link_service.h | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * device_link_service.h | 2 | * device_link_service.h |
| 3 | * Definitions for the DeviceLink service | 3 | * Definitions for the DeviceLink service |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2010 Nikias Bassen, All Rights Reserved. | 5 | * Copyright (c) 2010 Nikias Bassen, All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __DEVICE_LINK_SERVICE_H | 22 | #ifndef __DEVICE_LINK_SERVICE_H |
diff --git a/src/diagnostics_relay.c b/src/diagnostics_relay.c index 825678a..f67c4df 100644 --- a/src/diagnostics_relay.c +++ b/src/diagnostics_relay.c | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * diagnostics_relay.c | 2 | * diagnostics_relay.c |
| 3 | * com.apple.mobile.diagnostics_relay service implementation. | 3 | * com.apple.mobile.diagnostics_relay service implementation. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2012 Martin Szulecki, All Rights Reserved. | 5 | * Copyright (c) 2012 Martin Szulecki, All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #include <string.h> | 21 | #include <string.h> |
| 22 | #include <stdlib.h> | 22 | #include <stdlib.h> |
diff --git a/src/diagnostics_relay.h b/src/diagnostics_relay.h index eb1a21b..6d11ea1 100644 --- a/src/diagnostics_relay.h +++ b/src/diagnostics_relay.h | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * diagnostics_relay.h | 2 | * diagnostics_relay.h |
| 3 | * com.apple.mobile.diagnostics_relay service header file. | 3 | * com.apple.mobile.diagnostics_relay service header file. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2012 Martin Szulecki, All Rights Reserved. | 5 | * Copyright (c) 2012 Martin Szulecki, All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __DIAGNOSTICS_RELAY_H | 22 | #ifndef __DIAGNOSTICS_RELAY_H |
diff --git a/src/file_relay.c b/src/file_relay.c index 64b04ad..5055556 100644 --- a/src/file_relay.c +++ b/src/file_relay.c | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * file_relay.c | 2 | * file_relay.c |
| 3 | * com.apple.mobile.file_relay service implementation. | 3 | * com.apple.mobile.file_relay service implementation. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2010 Nikias Bassen, All Rights Reserved. | 5 | * Copyright (c) 2010 Nikias Bassen, All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #include <string.h> | 21 | #include <string.h> |
| 22 | #include <stdlib.h> | 22 | #include <stdlib.h> |
| @@ -75,7 +75,7 @@ LIBIMOBILEDEVICE_API file_relay_error_t file_relay_request_sources_timeout(file_ | |||
| 75 | while (sources[i]) { | 75 | while (sources[i]) { |
| 76 | plist_array_append_item(array, plist_new_string(sources[i])); | 76 | plist_array_append_item(array, plist_new_string(sources[i])); |
| 77 | i++; | 77 | i++; |
| 78 | } | 78 | } |
| 79 | plist_t dict = plist_new_dict(); | 79 | plist_t dict = plist_new_dict(); |
| 80 | plist_dict_set_item(dict, "Sources", array); | 80 | plist_dict_set_item(dict, "Sources", array); |
| 81 | 81 | ||
diff --git a/src/file_relay.h b/src/file_relay.h index c476a38..626fab8 100644 --- a/src/file_relay.h +++ b/src/file_relay.h | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * file_relay.h | 2 | * file_relay.h |
| 3 | * com.apple.mobile.file_relay service header file. | 3 | * com.apple.mobile.file_relay service header file. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2010 Nikias Bassen, All Rights Reserved. | 5 | * Copyright (c) 2010 Nikias Bassen, All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __FILE_RELAY_H | 22 | #ifndef __FILE_RELAY_H |
diff --git a/src/heartbeat.c b/src/heartbeat.c index a6e70ef..fe7e63a 100644 --- a/src/heartbeat.c +++ b/src/heartbeat.c | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * heartbeat.c | 2 | * heartbeat.c |
| 3 | * com.apple.mobile.heartbeat service implementation. | 3 | * com.apple.mobile.heartbeat service implementation. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2013 Martin Szulecki All Rights Reserved. | 5 | * Copyright (c) 2013 Martin Szulecki All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifdef HAVE_CONFIG_H | 22 | #ifdef HAVE_CONFIG_H |
diff --git a/src/heartbeat.h b/src/heartbeat.h index 84e27fe..f648681 100644 --- a/src/heartbeat.h +++ b/src/heartbeat.h | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * heartbeat.h | 2 | * heartbeat.h |
| 3 | * com.apple.mobile.heartbeat service header file. | 3 | * com.apple.mobile.heartbeat service header file. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2013 Martin Szulecki All Rights Reserved. | 5 | * Copyright (c) 2013 Martin Szulecki All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __HEARTBEAT_H | 22 | #ifndef __HEARTBEAT_H |
diff --git a/src/house_arrest.c b/src/house_arrest.c index b719d6f..135fc01 100644 --- a/src/house_arrest.c +++ b/src/house_arrest.c | |||
| @@ -8,15 +8,15 @@ | |||
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #include <string.h> | 22 | #include <string.h> |
diff --git a/src/house_arrest.h b/src/house_arrest.h index f050213..387594f 100644 --- a/src/house_arrest.h +++ b/src/house_arrest.h | |||
| @@ -8,15 +8,15 @@ | |||
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __HOUSE_ARREST_H | 22 | #ifndef __HOUSE_ARREST_H |
diff --git a/src/idevice.c b/src/idevice.c index c73c21b..ce27495 100644 --- a/src/idevice.c +++ b/src/idevice.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * idevice.c | 2 | * idevice.c |
| 3 | * Device discovery and communication interface. | 3 | * Device discovery and communication interface. |
| 4 | * | 4 | * |
| @@ -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 | #ifdef HAVE_CONFIG_H | 24 | #ifdef HAVE_CONFIG_H |
| @@ -795,7 +795,7 @@ LIBIMOBILEDEVICE_API idevice_error_t idevice_connection_disable_ssl(idevice_conn | |||
| 795 | if (!connection) | 795 | if (!connection) |
| 796 | return IDEVICE_E_INVALID_ARG; | 796 | return IDEVICE_E_INVALID_ARG; |
| 797 | if (!connection->ssl_data) { | 797 | if (!connection->ssl_data) { |
| 798 | /* ignore if ssl is not enabled */ | 798 | /* ignore if ssl is not enabled */ |
| 799 | return IDEVICE_E_SUCCESS; | 799 | return IDEVICE_E_SUCCESS; |
| 800 | } | 800 | } |
| 801 | 801 | ||
diff --git a/src/idevice.h b/src/idevice.h index 08e24e6..1354cc0 100644 --- a/src/idevice.h +++ b/src/idevice.h | |||
| @@ -8,15 +8,15 @@ | |||
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __DEVICE_H | 22 | #ifndef __DEVICE_H |
diff --git a/src/installation_proxy.c b/src/installation_proxy.c index c60e6b5..e858e58 100644 --- a/src/installation_proxy.c +++ b/src/installation_proxy.c | |||
| @@ -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 | #include <string.h> | 23 | #include <string.h> |
| @@ -192,7 +192,7 @@ static void instproxy_lock(instproxy_client_t client) | |||
| 192 | 192 | ||
| 193 | /** | 193 | /** |
| 194 | * Unlocks an installation_proxy client, used for thread safety. | 194 | * Unlocks an installation_proxy client, used for thread safety. |
| 195 | * | 195 | * |
| 196 | * @param client The installation_proxy client to lock | 196 | * @param client The installation_proxy client to lock |
| 197 | */ | 197 | */ |
| 198 | static void instproxy_unlock(instproxy_client_t client) | 198 | static void instproxy_unlock(instproxy_client_t client) |
| @@ -502,7 +502,7 @@ static instproxy_error_t instproxy_receive_status_loop_with_callback(instproxy_c | |||
| 502 | * @param user_data Callback data passed to status_cb. | 502 | * @param user_data Callback data passed to status_cb. |
| 503 | * | 503 | * |
| 504 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if | 504 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if |
| 505 | * an error occured. | 505 | * an error occured. |
| 506 | */ | 506 | */ |
| 507 | static instproxy_error_t instproxy_perform_command(instproxy_client_t client, plist_t command, instproxy_command_type_t async, instproxy_status_cb_t status_cb, void *user_data) | 507 | static instproxy_error_t instproxy_perform_command(instproxy_client_t client, plist_t command, instproxy_command_type_t async, instproxy_status_cb_t status_cb, void *user_data) |
| 508 | { | 508 | { |
diff --git a/src/installation_proxy.h b/src/installation_proxy.h index 15dbb84..bbc14ce 100644 --- a/src/installation_proxy.h +++ b/src/installation_proxy.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 __INSTALLATION_PROXY_H | 23 | #ifndef __INSTALLATION_PROXY_H |
diff --git a/src/lockdown.c b/src/lockdown.c index 12cefa5..d1296c9 100644 --- a/src/lockdown.c +++ b/src/lockdown.c | |||
| @@ -734,7 +734,7 @@ LIBIMOBILEDEVICE_API lockdownd_error_t lockdownd_client_new_with_handshake(idevi | |||
| 734 | } | 734 | } |
| 735 | 735 | ||
| 736 | } | 736 | } |
| 737 | 737 | ||
| 738 | if (LOCKDOWN_E_SUCCESS == ret) { | 738 | if (LOCKDOWN_E_SUCCESS == ret) { |
| 739 | *client = client_loc; | 739 | *client = client_loc; |
| 740 | } else { | 740 | } else { |
diff --git a/src/misagent.c b/src/misagent.c index e00fb17..2dd3451 100644 --- a/src/misagent.c +++ b/src/misagent.c | |||
| @@ -8,15 +8,15 @@ | |||
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #include <string.h> | 22 | #include <string.h> |
diff --git a/src/misagent.h b/src/misagent.h index b5035f1..08ad063 100644 --- a/src/misagent.h +++ b/src/misagent.h | |||
| @@ -8,15 +8,15 @@ | |||
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __MISAGENT_H | 22 | #ifndef __MISAGENT_H |
diff --git a/src/mobile_image_mounter.c b/src/mobile_image_mounter.c index 9696b8c..c8c4c6f 100644 --- a/src/mobile_image_mounter.c +++ b/src/mobile_image_mounter.c | |||
| @@ -8,15 +8,15 @@ | |||
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #include <string.h> | 22 | #include <string.h> |
| @@ -40,7 +40,7 @@ static void mobile_image_mounter_lock(mobile_image_mounter_client_t client) | |||
| 40 | 40 | ||
| 41 | /** | 41 | /** |
| 42 | * Unlocks a mobile_image_mounter client, used for thread safety. | 42 | * Unlocks a mobile_image_mounter client, used for thread safety. |
| 43 | * | 43 | * |
| 44 | * @param client mobile_image_mounter client to unlock | 44 | * @param client mobile_image_mounter client to unlock |
| 45 | */ | 45 | */ |
| 46 | static void mobile_image_mounter_unlock(mobile_image_mounter_client_t client) | 46 | static void mobile_image_mounter_unlock(mobile_image_mounter_client_t client) |
| @@ -231,7 +231,7 @@ LIBIMOBILEDEVICE_API mobile_image_mounter_error_t mobile_image_mounter_upload_im | |||
| 231 | plist_get_string_val(node, &strval); | 231 | plist_get_string_val(node, &strval); |
| 232 | } | 232 | } |
| 233 | if (!strval) { | 233 | if (!strval) { |
| 234 | debug_info("Error: Unexpected response received!"); | 234 | debug_info("Error: Unexpected response received!"); |
| 235 | goto leave_unlock; | 235 | goto leave_unlock; |
| 236 | } | 236 | } |
| 237 | if (strcmp(strval, "Complete") != 0) { | 237 | if (strcmp(strval, "Complete") != 0) { |
| @@ -242,7 +242,7 @@ LIBIMOBILEDEVICE_API mobile_image_mounter_error_t mobile_image_mounter_upload_im | |||
| 242 | res = MOBILE_IMAGE_MOUNTER_E_SUCCESS; | 242 | res = MOBILE_IMAGE_MOUNTER_E_SUCCESS; |
| 243 | } | 243 | } |
| 244 | free(strval); | 244 | free(strval); |
| 245 | 245 | ||
| 246 | 246 | ||
| 247 | leave_unlock: | 247 | leave_unlock: |
| 248 | mobile_image_mounter_unlock(client); | 248 | mobile_image_mounter_unlock(client); |
diff --git a/src/mobile_image_mounter.h b/src/mobile_image_mounter.h index 67cb589..e9754e4 100644 --- a/src/mobile_image_mounter.h +++ b/src/mobile_image_mounter.h | |||
| @@ -8,15 +8,15 @@ | |||
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __MOBILE_IMAGE_MOUNTER_H | 22 | #ifndef __MOBILE_IMAGE_MOUNTER_H |
diff --git a/src/mobilebackup.c b/src/mobilebackup.c index eefaef3..b32e0ba 100644 --- a/src/mobilebackup.c +++ b/src/mobilebackup.c | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * mobilebackup.c | 2 | * mobilebackup.c |
| 3 | * Contains functions for the built-in MobileBackup client. | 3 | * Contains functions for the built-in MobileBackup client. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2009 Martin Szulecki All Rights Reserved. | 5 | * Copyright (c) 2009 Martin Szulecki All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #include <plist/plist.h> | 22 | #include <plist/plist.h> |
diff --git a/src/mobilebackup.h b/src/mobilebackup.h index a373105..19b9999 100644 --- a/src/mobilebackup.h +++ b/src/mobilebackup.h | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * mobilebackup.h | 2 | * mobilebackup.h |
| 3 | * Definitions for the mobilebackup service | 3 | * Definitions for the mobilebackup service |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2009 Martin Szulecki All Rights Reserved. | 5 | * Copyright (c) 2009 Martin Szulecki All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __MOBILEBACKUP_H | 22 | #ifndef __MOBILEBACKUP_H |
diff --git a/src/mobilebackup2.c b/src/mobilebackup2.c index 38b4069..08ce22b 100644 --- a/src/mobilebackup2.c +++ b/src/mobilebackup2.c | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * mobilebackup2.c | 2 | * mobilebackup2.c |
| 3 | * Contains functions for the built-in MobileBackup2 client (iOS4+ only) | 3 | * Contains functions for the built-in MobileBackup2 client (iOS4+ only) |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2010 Nikias Bassen All Rights Reserved. | 5 | * Copyright (c) 2010 Nikias Bassen All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #include <plist/plist.h> | 22 | #include <plist/plist.h> |
diff --git a/src/mobilebackup2.h b/src/mobilebackup2.h index 66d4a42..4dba22a 100644 --- a/src/mobilebackup2.h +++ b/src/mobilebackup2.h | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * mobilebackup2.h | 2 | * mobilebackup2.h |
| 3 | * Definitions for the mobilebackup2 service (iOS4+) | 3 | * Definitions for the mobilebackup2 service (iOS4+) |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2010 Nikias Bassen All Rights Reserved. | 5 | * Copyright (c) 2010 Nikias Bassen All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __MOBILEBACKUP2_H | 22 | #ifndef __MOBILEBACKUP2_H |
diff --git a/src/mobilesync.c b/src/mobilesync.c index b07d536..06fb1c1 100644 --- a/src/mobilesync.c +++ b/src/mobilesync.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * mobilesync.c | 2 | * mobilesync.c |
| 3 | * Contains functions for the built-in MobileSync client. | 3 | * Contains functions for the built-in MobileSync client. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2010 Bryan Forbes All Rights Reserved. | 5 | * Copyright (c) 2010 Bryan Forbes All Rights Reserved. |
| 6 | * Copyright (c) 2009 Jonathan Beck All Rights Reserved. | 6 | * Copyright (c) 2009 Jonathan Beck All Rights Reserved. |
| 7 | * | 7 | * |
| @@ -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 | #define _GNU_SOURCE 1 | 23 | #define _GNU_SOURCE 1 |
| @@ -328,7 +328,7 @@ static mobilesync_error_t mobilesync_get_records(mobilesync_client_t client, con | |||
| 328 | msg = plist_new_array(); | 328 | msg = plist_new_array(); |
| 329 | plist_array_append_item(msg, plist_new_string(operation)); | 329 | plist_array_append_item(msg, plist_new_string(operation)); |
| 330 | plist_array_append_item(msg, plist_new_string(client->data_class)); | 330 | plist_array_append_item(msg, plist_new_string(client->data_class)); |
| 331 | 331 | ||
| 332 | err = mobilesync_send(client, msg); | 332 | err = mobilesync_send(client, msg); |
| 333 | 333 | ||
| 334 | if (msg) { | 334 | if (msg) { |
| @@ -710,7 +710,7 @@ LIBIMOBILEDEVICE_API mobilesync_error_t mobilesync_cancel(mobilesync_client_t cl | |||
| 710 | 710 | ||
| 711 | LIBIMOBILEDEVICE_API mobilesync_anchors_t mobilesync_anchors_new(const char *device_anchor, const char *computer_anchor) | 711 | LIBIMOBILEDEVICE_API mobilesync_anchors_t mobilesync_anchors_new(const char *device_anchor, const char *computer_anchor) |
| 712 | { | 712 | { |
| 713 | mobilesync_anchors_t anchors = (mobilesync_anchors_t) malloc(sizeof(mobilesync_anchors)); | 713 | mobilesync_anchors_t anchors = (mobilesync_anchors_t) malloc(sizeof(mobilesync_anchors)); |
| 714 | if (device_anchor != NULL) { | 714 | if (device_anchor != NULL) { |
| 715 | anchors->device_anchor = strdup(device_anchor); | 715 | anchors->device_anchor = strdup(device_anchor); |
| 716 | } else { | 716 | } else { |
diff --git a/src/mobilesync.h b/src/mobilesync.h index b0e7d4c..f672252 100644 --- a/src/mobilesync.h +++ b/src/mobilesync.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * mobilesync.h | 2 | * mobilesync.h |
| 3 | * Definitions for the built-in MobileSync client | 3 | * Definitions for the built-in MobileSync client |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2010 Bryan Forbes All Rights Reserved. | 5 | * Copyright (c) 2010 Bryan Forbes All Rights Reserved. |
| 6 | * Copyright (c) 2009 Jonathan Beck All Rights Reserved. | 6 | * Copyright (c) 2009 Jonathan Beck All Rights Reserved. |
| 7 | * | 7 | * |
| @@ -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 __MOBILESYNC_H | 23 | #ifndef __MOBILESYNC_H |
diff --git a/src/notification_proxy.c b/src/notification_proxy.c index b22448d..c0b216e 100644 --- a/src/notification_proxy.c +++ b/src/notification_proxy.c | |||
| @@ -8,15 +8,15 @@ | |||
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #include <string.h> | 22 | #include <string.h> |
| @@ -51,7 +51,7 @@ static void np_lock(np_client_t client) | |||
| 51 | 51 | ||
| 52 | /** | 52 | /** |
| 53 | * Unlocks a notification_proxy client, used for thread safety. | 53 | * Unlocks a notification_proxy client, used for thread safety. |
| 54 | * | 54 | * |
| 55 | * @param client notification_proxy client to unlock | 55 | * @param client notification_proxy client to unlock |
| 56 | */ | 56 | */ |
| 57 | static void np_unlock(np_client_t client) | 57 | static void np_unlock(np_client_t client) |
| @@ -260,7 +260,7 @@ static int np_get_notification(np_client_t client, char **notification) | |||
| 260 | debug_info("NotificationProxy: no notification received!"); | 260 | debug_info("NotificationProxy: no notification received!"); |
| 261 | res = 0; | 261 | res = 0; |
| 262 | } else if (perr != PROPERTY_LIST_SERVICE_E_SUCCESS) { | 262 | } else if (perr != PROPERTY_LIST_SERVICE_E_SUCCESS) { |
| 263 | debug_info("NotificationProxy: error %d occured!", perr); | 263 | debug_info("NotificationProxy: error %d occured!", perr); |
| 264 | res = perr; | 264 | res = perr; |
| 265 | } | 265 | } |
| 266 | if (dict) { | 266 | if (dict) { |
diff --git a/src/notification_proxy.h b/src/notification_proxy.h index c2ded6a..cc25a95 100644 --- a/src/notification_proxy.h +++ b/src/notification_proxy.h | |||
| @@ -8,15 +8,15 @@ | |||
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __NOTIFICATION_PROXY_H | 22 | #ifndef __NOTIFICATION_PROXY_H |
diff --git a/src/property_list_service.c b/src/property_list_service.c index 931c1ef..141fab7 100644 --- a/src/property_list_service.c +++ b/src/property_list_service.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * property_list_service.c | 2 | * property_list_service.c |
| 3 | * PropertyList service implementation. | 3 | * PropertyList service implementation. |
| 4 | * | 4 | * |
| @@ -8,15 +8,15 @@ | |||
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #ifdef HAVE_CONFIG_H | 21 | #ifdef HAVE_CONFIG_H |
| 22 | #include <config.h> | 22 | #include <config.h> |
diff --git a/src/property_list_service.h b/src/property_list_service.h index 6775c7c..3c9e14d 100644 --- a/src/property_list_service.h +++ b/src/property_list_service.h | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * property_list_service.h | 2 | * property_list_service.h |
| 3 | * Definitions for the PropertyList service | 3 | * Definitions for the PropertyList service |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2010 Nikias Bassen, All Rights Reserved. | 5 | * Copyright (c) 2010 Nikias Bassen, All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __PROPERTY_LIST_SERVICE_H | 22 | #ifndef __PROPERTY_LIST_SERVICE_H |
diff --git a/src/restore.c b/src/restore.c index 4d4823f..4b578c2 100644 --- a/src/restore.c +++ b/src/restore.c | |||
| @@ -93,7 +93,7 @@ LIBIMOBILEDEVICE_API restored_error_t restored_client_free(restored_client_t cli | |||
| 93 | { | 93 | { |
| 94 | if (!client) | 94 | if (!client) |
| 95 | return RESTORE_E_INVALID_ARG; | 95 | return RESTORE_E_INVALID_ARG; |
| 96 | 96 | ||
| 97 | restored_error_t ret = RESTORE_E_UNKNOWN_ERROR; | 97 | restored_error_t ret = RESTORE_E_UNKNOWN_ERROR; |
| 98 | 98 | ||
| 99 | if (client->parent) { | 99 | if (client->parent) { |
| @@ -110,7 +110,7 @@ LIBIMOBILEDEVICE_API restored_error_t restored_client_free(restored_client_t cli | |||
| 110 | if (client->label) { | 110 | if (client->label) { |
| 111 | free(client->label); | 111 | free(client->label); |
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | if (client->info) { | 114 | if (client->info) { |
| 115 | plist_free(client->info); | 115 | plist_free(client->info); |
| 116 | } | 116 | } |
| @@ -133,7 +133,7 @@ LIBIMOBILEDEVICE_API restored_error_t restored_receive(restored_client_t client, | |||
| 133 | { | 133 | { |
| 134 | if (!client || !plist || (plist && *plist)) | 134 | if (!client || !plist || (plist && *plist)) |
| 135 | return RESTORE_E_INVALID_ARG; | 135 | return RESTORE_E_INVALID_ARG; |
| 136 | 136 | ||
| 137 | restored_error_t ret = RESTORE_E_SUCCESS; | 137 | restored_error_t ret = RESTORE_E_SUCCESS; |
| 138 | property_list_service_error_t err; | 138 | property_list_service_error_t err; |
| 139 | 139 | ||
| @@ -181,7 +181,7 @@ LIBIMOBILEDEVICE_API restored_error_t restored_query_type(restored_client_t clie | |||
| 181 | dict = NULL; | 181 | dict = NULL; |
| 182 | 182 | ||
| 183 | ret = restored_receive(client, &dict); | 183 | ret = restored_receive(client, &dict); |
| 184 | 184 | ||
| 185 | if (RESTORE_E_SUCCESS != ret) | 185 | if (RESTORE_E_SUCCESS != ret) |
| 186 | return ret; | 186 | return ret; |
| 187 | 187 | ||
| @@ -268,26 +268,26 @@ LIBIMOBILEDEVICE_API restored_error_t restored_get_value(restored_client_t clien | |||
| 268 | { | 268 | { |
| 269 | if (!client || !value || (value && *value)) | 269 | if (!client || !value || (value && *value)) |
| 270 | return RESTORE_E_INVALID_ARG; | 270 | return RESTORE_E_INVALID_ARG; |
| 271 | 271 | ||
| 272 | if (!client->info) | 272 | if (!client->info) |
| 273 | return RESTORE_E_NOT_ENOUGH_DATA; | 273 | return RESTORE_E_NOT_ENOUGH_DATA; |
| 274 | 274 | ||
| 275 | restored_error_t ret = RESTORE_E_SUCCESS; | 275 | restored_error_t ret = RESTORE_E_SUCCESS; |
| 276 | plist_t item = NULL; | 276 | plist_t item = NULL; |
| 277 | 277 | ||
| 278 | if (!key) { | 278 | if (!key) { |
| 279 | *value = plist_copy(client->info); | 279 | *value = plist_copy(client->info); |
| 280 | return RESTORE_E_SUCCESS; | 280 | return RESTORE_E_SUCCESS; |
| 281 | } else { | 281 | } else { |
| 282 | item = plist_dict_get_item(client->info, key); | 282 | item = plist_dict_get_item(client->info, key); |
| 283 | } | 283 | } |
| 284 | 284 | ||
| 285 | if (item) { | 285 | if (item) { |
| 286 | *value = plist_copy(item); | 286 | *value = plist_copy(item); |
| 287 | } else { | 287 | } else { |
| 288 | ret = RESTORE_E_PLIST_ERROR; | 288 | ret = RESTORE_E_PLIST_ERROR; |
| 289 | } | 289 | } |
| 290 | 290 | ||
| 291 | return ret; | 291 | return ret; |
| 292 | } | 292 | } |
| 293 | 293 | ||
diff --git a/src/sbservices.c b/src/sbservices.c index 798e38a..0591f4a 100644 --- a/src/sbservices.c +++ b/src/sbservices.c | |||
| @@ -8,15 +8,15 @@ | |||
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #include <string.h> | 22 | #include <string.h> |
| @@ -41,7 +41,7 @@ static void sbservices_lock(sbservices_client_t client) | |||
| 41 | 41 | ||
| 42 | /** | 42 | /** |
| 43 | * Unlocks an sbservices client, used for thread safety. | 43 | * Unlocks an sbservices client, used for thread safety. |
| 44 | * | 44 | * |
| 45 | * @param client sbservices client to unlock | 45 | * @param client sbservices client to unlock |
| 46 | */ | 46 | */ |
| 47 | static void sbservices_unlock(sbservices_client_t client) | 47 | static void sbservices_unlock(sbservices_client_t client) |
diff --git a/src/sbservices.h b/src/sbservices.h index ba64d67..6c047ce 100644 --- a/src/sbservices.h +++ b/src/sbservices.h | |||
| @@ -8,15 +8,15 @@ | |||
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __SBSERVICES_H | 22 | #ifndef __SBSERVICES_H |
diff --git a/src/screenshotr.c b/src/screenshotr.c index eed271e..5c4a53f 100644 --- a/src/screenshotr.c +++ b/src/screenshotr.c | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * screenshotr.c | 2 | * screenshotr.c |
| 3 | * com.apple.mobile.screenshotr service implementation. | 3 | * com.apple.mobile.screenshotr service implementation. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2010 Nikias Bassen All Rights Reserved. | 5 | * Copyright (c) 2010 Nikias Bassen All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #include <plist/plist.h> | 22 | #include <plist/plist.h> |
diff --git a/src/screenshotr.h b/src/screenshotr.h index 2dadee8..47d4e42 100644 --- a/src/screenshotr.h +++ b/src/screenshotr.h | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * screenshotr.h | 2 | * screenshotr.h |
| 3 | * com.apple.mobile.screenshotr service header file. | 3 | * com.apple.mobile.screenshotr service header file. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2010 Nikias Bassen All Rights Reserved. | 5 | * Copyright (c) 2010 Nikias Bassen All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __SCREENSHOTR_H | 22 | #ifndef __SCREENSHOTR_H |
diff --git a/src/service.c b/src/service.c index 48959b6..2dc42b2 100644 --- a/src/service.c +++ b/src/service.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * service.c | 2 | * service.c |
| 3 | * generic service implementation. | 3 | * generic service implementation. |
| 4 | * | 4 | * |
| @@ -8,15 +8,15 @@ | |||
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #ifdef HAVE_CONFIG_H | 21 | #ifdef HAVE_CONFIG_H |
| 22 | #include <config.h> | 22 | #include <config.h> |
| @@ -148,7 +148,7 @@ LIBIMOBILEDEVICE_API service_error_t service_send(service_client_t client, const | |||
| 148 | 148 | ||
| 149 | return res; | 149 | return res; |
| 150 | } | 150 | } |
| 151 | 151 | ||
| 152 | LIBIMOBILEDEVICE_API service_error_t service_receive_with_timeout(service_client_t client, char* data, uint32_t size, uint32_t *received, unsigned int timeout) | 152 | LIBIMOBILEDEVICE_API service_error_t service_receive_with_timeout(service_client_t client, char* data, uint32_t size, uint32_t *received, unsigned int timeout) |
| 153 | { | 153 | { |
| 154 | service_error_t res = SERVICE_E_UNKNOWN_ERROR; | 154 | service_error_t res = SERVICE_E_UNKNOWN_ERROR; |
diff --git a/src/service.h b/src/service.h index 512f9e2..3fc3077 100644 --- a/src/service.h +++ b/src/service.h | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * service.h | 2 | * service.h |
| 3 | * Definitions for the generic service implementation | 3 | * Definitions for the generic service implementation |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2013 Nikias Bassen, All Rights Reserved. | 5 | * Copyright (c) 2013 Nikias Bassen, All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #ifndef SERVICE_H | 21 | #ifndef SERVICE_H |
| 22 | #define SERVICE_H | 22 | #define SERVICE_H |
diff --git a/src/syslog_relay.c b/src/syslog_relay.c index 5ef64cd..29f4de5 100644 --- a/src/syslog_relay.c +++ b/src/syslog_relay.c | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * syslog_relay.c | 2 | * syslog_relay.c |
| 3 | * com.apple.syslog_relay service implementation. | 3 | * com.apple.syslog_relay service implementation. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2013 Martin Szulecki All Rights Reserved. | 5 | * Copyright (c) 2013 Martin Szulecki All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifdef HAVE_CONFIG_H | 22 | #ifdef HAVE_CONFIG_H |
diff --git a/src/syslog_relay.h b/src/syslog_relay.h index c6dcf32..cd45775 100644 --- a/src/syslog_relay.h +++ b/src/syslog_relay.h | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * syslog_relay.h | 2 | * syslog_relay.h |
| 3 | * com.apple.syslog_relay service header file. | 3 | * com.apple.syslog_relay service header file. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2013 Martin Szulecki All Rights Reserved. | 5 | * Copyright (c) 2013 Martin Szulecki All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef _SYSLOG_RELAY_H | 22 | #ifndef _SYSLOG_RELAY_H |
diff --git a/src/webinspector.c b/src/webinspector.c index de30cd1..c81f4c7 100644 --- a/src/webinspector.c +++ b/src/webinspector.c | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * webinspector.c | 2 | * webinspector.c |
| 3 | * com.apple.webinspector service implementation. | 3 | * com.apple.webinspector service implementation. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2013 Yury Melnichek All Rights Reserved. | 5 | * Copyright (c) 2013 Yury Melnichek All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifdef HAVE_CONFIG_H | 22 | #ifdef HAVE_CONFIG_H |
| @@ -123,7 +123,7 @@ LIBIMOBILEDEVICE_API webinspector_error_t webinspector_send(webinspector_client_ | |||
| 123 | return res; | 123 | return res; |
| 124 | } | 124 | } |
| 125 | 125 | ||
| 126 | do { | 126 | do { |
| 127 | /* determine if we need to send partial messages */ | 127 | /* determine if we need to send partial messages */ |
| 128 | if (packet_length < WEBINSPECTOR_PARTIAL_PACKET_CHUNK_SIZE) { | 128 | if (packet_length < WEBINSPECTOR_PARTIAL_PACKET_CHUNK_SIZE) { |
| 129 | is_final_message = 1; | 129 | is_final_message = 1; |
diff --git a/src/webinspector.h b/src/webinspector.h index 3c8e695..67421bc 100644 --- a/src/webinspector.h +++ b/src/webinspector.h | |||
| @@ -1,22 +1,22 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * webinspector.h | 2 | * webinspector.h |
| 3 | * com.apple.webinspector service header file. | 3 | * com.apple.webinspector service header file. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2013 Yury Melnichek All Rights Reserved. | 5 | * Copyright (c) 2013 Yury Melnichek All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __WEBINSPECTOR_H | 22 | #ifndef __WEBINSPECTOR_H |
