summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2015-01-26 22:42:05 +0100
committerGravatar Martin Szulecki2015-01-27 22:01:23 +0100
commit148e8b96d848a33f197378e9dd183ab22c005222 (patch)
treea862ba3f5ef0a82deb1ba08ce6315bf6370cba74
parentdb4f941a4c83b997e301f8cb14a5ae301d059689 (diff)
downloadlibimobiledevice-148e8b96d848a33f197378e9dd183ab22c005222.tar.gz
libimobiledevice-148e8b96d848a33f197378e9dd183ab22c005222.tar.bz2
installation_proxy: Add missing native errors to enum
-rw-r--r--include/libimobiledevice/installation_proxy.h76
1 files changed, 68 insertions, 8 deletions
diff --git a/include/libimobiledevice/installation_proxy.h b/include/libimobiledevice/installation_proxy.h
index a2189e9..82af71b 100644
--- a/include/libimobiledevice/installation_proxy.h
+++ b/include/libimobiledevice/installation_proxy.h
@@ -34,14 +34,74 @@ extern "C" {
/** Error Codes */
typedef enum {
- INSTPROXY_E_SUCCESS = 0,
- INSTPROXY_E_INVALID_ARG = -1,
- INSTPROXY_E_PLIST_ERROR = -2,
- INSTPROXY_E_CONN_FAILED = -3,
- INSTPROXY_E_OP_IN_PROGRESS = -4,
- INSTPROXY_E_OP_FAILED = -5,
- INSTPROXY_E_RECEIVE_TIMEOUT = -6,
- INSTPROXY_E_UNKNOWN_ERROR = -256
+ /* custom */
+ INSTPROXY_E_SUCCESS = 0,
+ INSTPROXY_E_INVALID_ARG = -1,
+ INSTPROXY_E_PLIST_ERROR = -2,
+ INSTPROXY_E_CONN_FAILED = -3,
+ INSTPROXY_E_OP_IN_PROGRESS = -4,
+ INSTPROXY_E_OP_FAILED = -5,
+ INSTPROXY_E_RECEIVE_TIMEOUT = -6,
+ /* native */
+ INSTPROXY_E_ALREADY_ARCHIVED = -7,
+ INSTPROXY_E_API_INTERNAL_ERROR = -8,
+ INSTPROXY_E_APPLICATION_ALREADY_INSTALLED = -9,
+ INSTPROXY_E_APPLICATION_MOVE_FAILED = -10,
+ INSTPROXY_E_APPLICATION_SINF_CAPTURE_FAILED = -11,
+ INSTPROXY_E_APPLICATION_SANDBOX_FAILED = -12,
+ INSTPROXY_E_APPLICATION_VERIFICATION_FAILED = -13,
+ INSTPROXY_E_ARCHIVE_DESTRUCTION_FAILED = -14,
+ INSTPROXY_E_BUNDLE_VERIFICATION_FAILED = -15,
+ INSTPROXY_E_CARRIER_BUNDLE_COPY_FAILED = -16,
+ INSTPROXY_E_CARRIER_BUNDLE_DIRECTORY_CREATION_FAILED = -17,
+ INSTPROXY_E_CARRIER_BUNDLE_MISSING_SUPPORTED_SIMS = -18,
+ INSTPROXY_E_COMM_CENTER_NOTIFICATION_FAILED = -19,
+ INSTPROXY_E_CONTAINER_CREATION_FAILED = -20,
+ INSTPROXY_E_CONTAINER_P0WN_FAILED = -21,
+ INSTPROXY_E_CONTAINER_REMOVAL_FAILED = -22,
+ INSTPROXY_E_EMBEDDED_PROFILE_INSTALL_FAILED = -23,
+ INSTPROXY_E_EXECUTABLE_TWIDDLE_FAILED = -24,
+ INSTPROXY_E_EXISTENCE_CHECK_FAILED = -25,
+ INSTPROXY_E_INSTALL_MAP_UPDATE_FAILED = -26,
+ INSTPROXY_E_MANIFEST_CAPTURE_FAILED = -27,
+ INSTPROXY_E_MAP_GENERATION_FAILED = -28,
+ INSTPROXY_E_MISSING_BUNDLE_EXECUTABLE = -29,
+ INSTPROXY_E_MISSING_BUNDLE_IDENTIFIER = -30,
+ INSTPROXY_E_MISSING_BUNDLE_PATH = -31,
+ INSTPROXY_E_MISSING_CONTAINER = -32,
+ INSTPROXY_E_NOTIFICATION_FAILED = -33,
+ INSTPROXY_E_PACKAGE_EXTRACTION_FAILED = -34,
+ INSTPROXY_E_PACKAGE_INSPECTION_FAILED = -35,
+ INSTPROXY_E_PACKAGE_MOVE_FAILED = -36,
+ INSTPROXY_E_PATH_CONVERSION_FAILED = -37,
+ INSTPROXY_E_RESTORE_CONTAINER_FAILED = -38,
+ INSTPROXY_E_SEATBELT_PROFILE_REMOVAL_FAILED = -39,
+ INSTPROXY_E_STAGE_CREATION_FAILED = -40,
+ INSTPROXY_E_SYMLINK_FAILED = -41,
+ INSTPROXY_E_UNKNOWN_COMMAND = -42,
+ INSTPROXY_E_ITUNES_ARTWORK_CAPTURE_FAILED = -43,
+ INSTPROXY_E_ITUNES_METADATA_CAPTURE_FAILED = -44,
+ INSTPROXY_E_DEVICE_OS_VERSION_TOO_LOW = -45,
+ INSTPROXY_E_DEVICE_FAMILY_NOT_SUPPORTED = -46,
+ INSTPROXY_E_PACKAGE_PATCH_FAILED = -47,
+ INSTPROXY_E_INCORRECT_ARCHITECTURE = -48,
+ INSTPROXY_E_PLUGIN_COPY_FAILED = -49,
+ INSTPROXY_E_BREADCRUMB_FAILED = -50,
+ INSTPROXY_E_BREADCRUMB_UNLOCK_FAILED = -51,
+ INSTPROXY_E_GEOJSON_CAPTURE_FAILED = -52,
+ INSTPROXY_E_NEWSSTAND_ARTWORK_CAPTURE_FAILED = -53,
+ INSTPROXY_E_MISSING_COMMAND = -54,
+ INSTPROXY_E_NOT_ENTITLED = -55,
+ INSTPROXY_E_MISSING_PACKAGE_PATH = -56,
+ INSTPROXY_E_MISSING_CONTAINER_PATH = -57,
+ INSTPROXY_E_MISSING_APPLICATION_IDENTIFIER = -58,
+ INSTPROXY_E_MISSING_ATTRIBUTE_VALUE = -59,
+ INSTPROXY_E_LOOKUP_FAILED = -60,
+ INSTPROXY_E_DICT_CREATION_FAILED = -61,
+ INSTPROXY_E_INSTALL_PROHIBITED = -62,
+ INSTPROXY_E_UNINSTALL_PROHIBITED = -63,
+ INSTPROXY_E_MISSING_BUNDLE_VERSION = -64,
+ INSTPROXY_E_UNKNOWN_ERROR = -256
} instproxy_error_t;
typedef struct instproxy_client_private instproxy_client_private;