diff options
author | Nikias Bassen | 2019-09-27 12:52:03 +0200 |
---|---|---|
committer | Nikias Bassen | 2019-09-27 12:52:03 +0200 |
commit | 8f96c52de2f9f35f361d29095190fc673db7d1c1 (patch) | |
tree | 991b5f37ed8c504b2f77a8d0afc22182afbd340c /include/libimobiledevice/screenshotr.h | |
parent | acf0a76be3c81a8ce69817af2b16a546a08f7ecb (diff) | |
download | libimobiledevice-8f96c52de2f9f35f361d29095190fc673db7d1c1.tar.gz libimobiledevice-8f96c52de2f9f35f361d29095190fc673db7d1c1.tar.bz2 |
Make sure to handle timeout errors in device link service and all depending services
Diffstat (limited to 'include/libimobiledevice/screenshotr.h')
-rw-r--r-- | include/libimobiledevice/screenshotr.h | 18 |
1 files changed, 10 insertions, 8 deletions
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 @@ * @note Requires a mounted developer image. * \internal * - * Copyright (c) 2010-2014 Martin Szulecki All Rights Reserved. - * Copyright (c) 2010 Nikias Bassen All Rights Reserved. + * Copyright (c) 2010-2019 Nikias Bassen, All Rights Reserved. + * Copyright (c) 2010-2014 Martin Szulecki, All Rights Reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -36,12 +36,14 @@ extern "C" { /** Error Codes */ typedef enum { - SCREENSHOTR_E_SUCCESS = 0, - SCREENSHOTR_E_INVALID_ARG = -1, - SCREENSHOTR_E_PLIST_ERROR = -2, - SCREENSHOTR_E_MUX_ERROR = -3, - SCREENSHOTR_E_BAD_VERSION = -4, - SCREENSHOTR_E_UNKNOWN_ERROR = -256 + SCREENSHOTR_E_SUCCESS = 0, + SCREENSHOTR_E_INVALID_ARG = -1, + SCREENSHOTR_E_PLIST_ERROR = -2, + SCREENSHOTR_E_MUX_ERROR = -3, + SCREENSHOTR_E_SSL_ERROR = -4, + SCREENSHOTR_E_RECEIVE_TIMEOUT = -5, + SCREENSHOTR_E_BAD_VERSION = -6, + SCREENSHOTR_E_UNKNOWN_ERROR = -256 } screenshotr_error_t; typedef struct screenshotr_client_private screenshotr_client_private; |