diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/libimobiledevice/mobilebackup.h | 20 | ||||
| -rw-r--r-- | include/libimobiledevice/mobilebackup2.h | 12 | ||||
| -rw-r--r-- | include/libimobiledevice/mobilesync.h | 14 | ||||
| -rw-r--r-- | include/libimobiledevice/screenshotr.h | 18 |
4 files changed, 36 insertions, 28 deletions
diff --git a/include/libimobiledevice/mobilebackup.h b/include/libimobiledevice/mobilebackup.h index 6da3bed..f22150d 100644 --- a/include/libimobiledevice/mobilebackup.h +++ b/include/libimobiledevice/mobilebackup.h | |||
| @@ -3,8 +3,8 @@ | |||
| 3 | * @brief Backup and restore of all device data. | 3 | * @brief Backup and restore of all device data. |
| 4 | * \internal | 4 | * \internal |
| 5 | * | 5 | * |
| 6 | * Copyright (c) 2009-2014 Martin Szulecki All Rights Reserved. | 6 | * Copyright (c) 2010-2019 Nikias Bassen, All Rights Reserved. |
| 7 | * Copyright (c) 2010 Nikias Bassen All Rights Reserved. | 7 | * Copyright (c) 2009-2014 Martin Szulecki, All Rights Reserved. |
| 8 | * | 8 | * |
| 9 | * This library is free software; you can redistribute it and/or | 9 | * This library is free software; you can redistribute it and/or |
| 10 | * modify it under the terms of the GNU Lesser General Public | 10 | * modify it under the terms of the GNU Lesser General Public |
| @@ -35,13 +35,15 @@ extern "C" { | |||
| 35 | 35 | ||
| 36 | /** Error Codes */ | 36 | /** Error Codes */ |
| 37 | typedef enum { | 37 | typedef enum { |
| 38 | MOBILEBACKUP_E_SUCCESS = 0, | 38 | MOBILEBACKUP_E_SUCCESS = 0, |
| 39 | MOBILEBACKUP_E_INVALID_ARG = -1, | 39 | MOBILEBACKUP_E_INVALID_ARG = -1, |
| 40 | MOBILEBACKUP_E_PLIST_ERROR = -2, | 40 | MOBILEBACKUP_E_PLIST_ERROR = -2, |
| 41 | MOBILEBACKUP_E_MUX_ERROR = -3, | 41 | MOBILEBACKUP_E_MUX_ERROR = -3, |
| 42 | MOBILEBACKUP_E_BAD_VERSION = -4, | 42 | MOBILEBACKUP_E_SSL_ERROR = -4, |
| 43 | MOBILEBACKUP_E_REPLY_NOT_OK = -5, | 43 | MOBILEBACKUP_E_RECEIVE_TIMEOUT = -5, |
| 44 | MOBILEBACKUP_E_UNKNOWN_ERROR = -256 | 44 | MOBILEBACKUP_E_BAD_VERSION = -6, |
| 45 | MOBILEBACKUP_E_REPLY_NOT_OK = -7, | ||
| 46 | MOBILEBACKUP_E_UNKNOWN_ERROR = -256 | ||
| 45 | } mobilebackup_error_t; | 47 | } mobilebackup_error_t; |
| 46 | 48 | ||
| 47 | typedef struct mobilebackup_client_private mobilebackup_client_private; | 49 | typedef struct mobilebackup_client_private mobilebackup_client_private; |
diff --git a/include/libimobiledevice/mobilebackup2.h b/include/libimobiledevice/mobilebackup2.h index 0c42334..239c807 100644 --- a/include/libimobiledevice/mobilebackup2.h +++ b/include/libimobiledevice/mobilebackup2.h | |||
| @@ -3,8 +3,8 @@ | |||
| 3 | * @brief Backup and restore of all device data (mobilebackup2, iOS4+ only) | 3 | * @brief Backup and restore of all device data (mobilebackup2, iOS4+ only) |
| 4 | * \internal | 4 | * \internal |
| 5 | * | 5 | * |
| 6 | * Copyright (c) 2011-2014 Martin Szulecki All Rights Reserved. | 6 | * Copyright (c) 2010-2019 Nikias Bassen, All Rights Reserved. |
| 7 | * Copyright (c) 2010-2012 Nikias Bassen All Rights Reserved. | 7 | * Copyright (c) 2011-2014 Martin Szulecki, All Rights Reserved. |
| 8 | * | 8 | * |
| 9 | * This library is free software; you can redistribute it and/or | 9 | * This library is free software; you can redistribute it and/or |
| 10 | * modify it under the terms of the GNU Lesser General Public | 10 | * modify it under the terms of the GNU Lesser General Public |
| @@ -39,9 +39,11 @@ typedef enum { | |||
| 39 | MOBILEBACKUP2_E_INVALID_ARG = -1, | 39 | MOBILEBACKUP2_E_INVALID_ARG = -1, |
| 40 | MOBILEBACKUP2_E_PLIST_ERROR = -2, | 40 | MOBILEBACKUP2_E_PLIST_ERROR = -2, |
| 41 | MOBILEBACKUP2_E_MUX_ERROR = -3, | 41 | MOBILEBACKUP2_E_MUX_ERROR = -3, |
| 42 | MOBILEBACKUP2_E_BAD_VERSION = -4, | 42 | MOBILEBACKUP2_E_SSL_ERROR = -4, |
| 43 | MOBILEBACKUP2_E_REPLY_NOT_OK = -5, | 43 | MOBILEBACKUP2_E_RECEIVE_TIMEOUT = -5, |
| 44 | MOBILEBACKUP2_E_NO_COMMON_VERSION = -6, | 44 | MOBILEBACKUP2_E_BAD_VERSION = -6, |
| 45 | MOBILEBACKUP2_E_REPLY_NOT_OK = -7, | ||
| 46 | MOBILEBACKUP2_E_NO_COMMON_VERSION = -8, | ||
| 45 | MOBILEBACKUP2_E_UNKNOWN_ERROR = -256 | 47 | MOBILEBACKUP2_E_UNKNOWN_ERROR = -256 |
| 46 | } mobilebackup2_error_t; | 48 | } mobilebackup2_error_t; |
| 47 | 49 | ||
diff --git a/include/libimobiledevice/mobilesync.h b/include/libimobiledevice/mobilesync.h index e6885c7..005ef3f 100644 --- a/include/libimobiledevice/mobilesync.h +++ b/include/libimobiledevice/mobilesync.h | |||
| @@ -3,8 +3,8 @@ | |||
| 3 | * @brief Synchronize data classes with a device and computer. | 3 | * @brief Synchronize data classes with a device and computer. |
| 4 | * \internal | 4 | * \internal |
| 5 | * | 5 | * |
| 6 | * Copyright (c) 2010-2019 Nikias Bassen, All Rights Reserved. | ||
| 6 | * Copyright (c) 2010-2014 Martin Szulecki All Rights Reserved. | 7 | * Copyright (c) 2010-2014 Martin Szulecki All Rights Reserved. |
| 7 | * Copyright (c) 2010-2011 Nikias Bassen All Rights Reserved. | ||
| 8 | * Copyright (c) 2014 Christophe Fergeau All Rights Reserved. | 8 | * Copyright (c) 2014 Christophe Fergeau All Rights Reserved. |
| 9 | * Copyright (c) 2010 Bryan Forbes All Rights Reserved. | 9 | * Copyright (c) 2010 Bryan Forbes All Rights Reserved. |
| 10 | * Copyright (c) 2009 Jonathan Beck All Rights Reserved. | 10 | * Copyright (c) 2009 Jonathan Beck All Rights Reserved. |
| @@ -42,11 +42,13 @@ typedef enum { | |||
| 42 | MOBILESYNC_E_INVALID_ARG = -1, | 42 | MOBILESYNC_E_INVALID_ARG = -1, |
| 43 | MOBILESYNC_E_PLIST_ERROR = -2, | 43 | MOBILESYNC_E_PLIST_ERROR = -2, |
| 44 | MOBILESYNC_E_MUX_ERROR = -3, | 44 | MOBILESYNC_E_MUX_ERROR = -3, |
| 45 | MOBILESYNC_E_BAD_VERSION = -4, | 45 | MOBILESYNC_E_SSL_ERROR = -4, |
| 46 | MOBILESYNC_E_SYNC_REFUSED = -5, | 46 | MOBILESYNC_E_RECEIVE_TIMEOUT = -5, |
| 47 | MOBILESYNC_E_CANCELLED = -6, | 47 | MOBILESYNC_E_BAD_VERSION = -6, |
| 48 | MOBILESYNC_E_WRONG_DIRECTION = -7, | 48 | MOBILESYNC_E_SYNC_REFUSED = -7, |
| 49 | MOBILESYNC_E_NOT_READY = -8, | 49 | MOBILESYNC_E_CANCELLED = -8, |
| 50 | MOBILESYNC_E_WRONG_DIRECTION = -9, | ||
| 51 | MOBILESYNC_E_NOT_READY = -10, | ||
| 50 | MOBILESYNC_E_UNKNOWN_ERROR = -256 | 52 | MOBILESYNC_E_UNKNOWN_ERROR = -256 |
| 51 | } mobilesync_error_t; | 53 | } mobilesync_error_t; |
| 52 | 54 | ||
diff --git a/include/libimobiledevice/screenshotr.h b/include/libimobiledevice/screenshotr.h index c12646b..83ca96b 100644 --- a/include/libimobiledevice/screenshotr.h +++ b/include/libimobiledevice/screenshotr.h | |||
| @@ -4,8 +4,8 @@ | |||
| 4 | * @note Requires a mounted developer image. | 4 | * @note Requires a mounted developer image. |
| 5 | * \internal | 5 | * \internal |
| 6 | * | 6 | * |
| 7 | * Copyright (c) 2010-2014 Martin Szulecki All Rights Reserved. | 7 | * Copyright (c) 2010-2019 Nikias Bassen, All Rights Reserved. |
| 8 | * Copyright (c) 2010 Nikias Bassen All Rights Reserved. | 8 | * Copyright (c) 2010-2014 Martin Szulecki, All Rights Reserved. |
| 9 | * | 9 | * |
| 10 | * This library is free software; you can redistribute it and/or | 10 | * This library is free software; you can redistribute it and/or |
| 11 | * modify it under the terms of the GNU Lesser General Public | 11 | * modify it under the terms of the GNU Lesser General Public |
| @@ -36,12 +36,14 @@ extern "C" { | |||
| 36 | 36 | ||
| 37 | /** Error Codes */ | 37 | /** Error Codes */ |
| 38 | typedef enum { | 38 | typedef enum { |
| 39 | SCREENSHOTR_E_SUCCESS = 0, | 39 | SCREENSHOTR_E_SUCCESS = 0, |
| 40 | SCREENSHOTR_E_INVALID_ARG = -1, | 40 | SCREENSHOTR_E_INVALID_ARG = -1, |
| 41 | SCREENSHOTR_E_PLIST_ERROR = -2, | 41 | SCREENSHOTR_E_PLIST_ERROR = -2, |
| 42 | SCREENSHOTR_E_MUX_ERROR = -3, | 42 | SCREENSHOTR_E_MUX_ERROR = -3, |
| 43 | SCREENSHOTR_E_BAD_VERSION = -4, | 43 | SCREENSHOTR_E_SSL_ERROR = -4, |
| 44 | SCREENSHOTR_E_UNKNOWN_ERROR = -256 | 44 | SCREENSHOTR_E_RECEIVE_TIMEOUT = -5, |
| 45 | SCREENSHOTR_E_BAD_VERSION = -6, | ||
| 46 | SCREENSHOTR_E_UNKNOWN_ERROR = -256 | ||
| 45 | } screenshotr_error_t; | 47 | } screenshotr_error_t; |
| 46 | 48 | ||
| 47 | typedef struct screenshotr_client_private screenshotr_client_private; | 49 | typedef struct screenshotr_client_private screenshotr_client_private; |
