diff options
Diffstat (limited to 'include/libimobiledevice/installation_proxy.h')
| -rw-r--r-- | include/libimobiledevice/installation_proxy.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/libimobiledevice/installation_proxy.h b/include/libimobiledevice/installation_proxy.h index 8a7cfb9..2bf738d 100644 --- a/include/libimobiledevice/installation_proxy.h +++ b/include/libimobiledevice/installation_proxy.h | |||
| @@ -30,7 +30,8 @@ extern "C" { | |||
| 30 | #include <libimobiledevice/libimobiledevice.h> | 30 | #include <libimobiledevice/libimobiledevice.h> |
| 31 | #include <glib.h> | 31 | #include <glib.h> |
| 32 | 32 | ||
| 33 | /* Error Codes */ | 33 | /** @name Error Codes */ |
| 34 | /*@{*/ | ||
| 34 | #define INSTPROXY_E_SUCCESS 0 | 35 | #define INSTPROXY_E_SUCCESS 0 |
| 35 | #define INSTPROXY_E_INVALID_ARG -1 | 36 | #define INSTPROXY_E_INVALID_ARG -1 |
| 36 | #define INSTPROXY_E_PLIST_ERROR -2 | 37 | #define INSTPROXY_E_PLIST_ERROR -2 |
| @@ -39,12 +40,15 @@ extern "C" { | |||
| 39 | #define INSTPROXY_E_OP_FAILED -5 | 40 | #define INSTPROXY_E_OP_FAILED -5 |
| 40 | 41 | ||
| 41 | #define INSTPROXY_E_UNKNOWN_ERROR -256 | 42 | #define INSTPROXY_E_UNKNOWN_ERROR -256 |
| 43 | /*@}*/ | ||
| 42 | 44 | ||
| 45 | /** Represents an error code. */ | ||
| 43 | typedef int16_t instproxy_error_t; | 46 | typedef int16_t instproxy_error_t; |
| 44 | 47 | ||
| 45 | typedef struct instproxy_client_private instproxy_client_private; | 48 | typedef struct instproxy_client_private instproxy_client_private; |
| 46 | typedef instproxy_client_private *instproxy_client_t; /**< The client handle. */ | 49 | typedef instproxy_client_private *instproxy_client_t; /**< The client handle. */ |
| 47 | 50 | ||
| 51 | /** Reports the status of the given operation */ | ||
| 48 | typedef void (*instproxy_status_cb_t) (const char *operation, plist_t status); | 52 | typedef void (*instproxy_status_cb_t) (const char *operation, plist_t status); |
| 49 | 53 | ||
| 50 | /* Interface */ | 54 | /* Interface */ |
