diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/libimobiledevice/diagnostics_relay.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/libimobiledevice/diagnostics_relay.h b/include/libimobiledevice/diagnostics_relay.h index 58c26df..5a82931 100644 --- a/include/libimobiledevice/diagnostics_relay.h +++ b/include/libimobiledevice/diagnostics_relay.h | |||
| @@ -39,6 +39,15 @@ extern "C" { | |||
| 39 | #define DIAGNOSTICS_RELAY_E_UNKNOWN_ERROR -256 | 39 | #define DIAGNOSTICS_RELAY_E_UNKNOWN_ERROR -256 |
| 40 | /*@}*/ | 40 | /*@}*/ |
| 41 | 41 | ||
| 42 | #define DIAGNOSTICS_RELAY_ACTION_FLAG_WAIT_FOR_DISCONNECT (1 << 1) | ||
| 43 | #define DIAGNOSTICS_RELAY_ACTION_FLAG_DISPLAY_PASS (1 << 2) | ||
| 44 | #define DIAGNOSTICS_RELAY_ACTION_FLAG_DISPLAY_FAIL (1 << 3) | ||
| 45 | |||
| 46 | #define DIAGNOSTICS_RELAY_REQUEST_TYPE_ALL "All" | ||
| 47 | #define DIAGNOSTICS_RELAY_REQUEST_TYPE_WIFI "WiFi" | ||
| 48 | #define DIAGNOSTICS_RELAY_REQUEST_TYPE_GAS_GAUGE "GasGauge" | ||
| 49 | #define DIAGNOSTICS_RELAY_REQUEST_TYPE_NAND "NAND" | ||
| 50 | |||
| 42 | /** Represents an error code. */ | 51 | /** Represents an error code. */ |
| 43 | typedef int16_t diagnostics_relay_error_t; | 52 | typedef int16_t diagnostics_relay_error_t; |
| 44 | 53 | ||
| @@ -49,7 +58,10 @@ diagnostics_relay_error_t diagnostics_relay_client_new(idevice_t device, uint16_ | |||
| 49 | diagnostics_relay_error_t diagnostics_relay_client_free(diagnostics_relay_client_t client); | 58 | diagnostics_relay_error_t diagnostics_relay_client_free(diagnostics_relay_client_t client); |
| 50 | 59 | ||
| 51 | diagnostics_relay_error_t diagnostics_relay_goodbye(diagnostics_relay_client_t client); | 60 | diagnostics_relay_error_t diagnostics_relay_goodbye(diagnostics_relay_client_t client); |
| 52 | diagnostics_relay_error_t diagnostics_relay_request_diagnostics(diagnostics_relay_client_t client, plist_t* diagnostics); | 61 | diagnostics_relay_error_t diagnostics_relay_sleep(diagnostics_relay_client_t client); |
| 62 | diagnostics_relay_error_t diagnostics_relay_restart(diagnostics_relay_client_t client, int flags); | ||
| 63 | diagnostics_relay_error_t diagnostics_relay_shutdown(diagnostics_relay_client_t client, int flags); | ||
| 64 | diagnostics_relay_error_t diagnostics_relay_request_diagnostics(diagnostics_relay_client_t client, const char* type, plist_t* diagnostics); | ||
| 53 | 65 | ||
| 54 | #ifdef __cplusplus | 66 | #ifdef __cplusplus |
| 55 | } | 67 | } |
