summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/screenshotr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libimobiledevice/screenshotr.h')
-rw-r--r--include/libimobiledevice/screenshotr.h18
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 @@
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 */
38typedef enum { 38typedef 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
47typedef struct screenshotr_client_private screenshotr_client_private; 49typedef struct screenshotr_client_private screenshotr_client_private;