diff options
Diffstat (limited to 'include/libiphone/libiphone.h')
| -rw-r--r-- | include/libiphone/libiphone.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index 59d2de2..6197923 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h | |||
| @@ -81,8 +81,17 @@ typedef struct iphone_afc_file_int *iphone_afc_file_t; | |||
| 81 | struct iphone_msync_client_int; | 81 | struct iphone_msync_client_int; |
| 82 | typedef struct iphone_msync_client_int *iphone_msync_client_t; | 82 | typedef struct iphone_msync_client_int *iphone_msync_client_t; |
| 83 | 83 | ||
| 84 | //device related functions | 84 | //debug related functions |
| 85 | #define DBGMASK_ALL 0xFFFF | ||
| 86 | #define DBGMASK_NONE 0x0000 | ||
| 87 | #define DBGMASK_USBMUX (1 << 1) | ||
| 88 | #define DBGMASK_LOCKDOWND (1 << 2) | ||
| 89 | #define DBGMASK_MOBILESYNC (1 << 3) | ||
| 90 | |||
| 91 | void iphone_set_debug_mask(uint16_t mask); | ||
| 85 | void iphone_set_debug(int level); | 92 | void iphone_set_debug(int level); |
| 93 | |||
| 94 | //device related functions | ||
| 86 | iphone_error_t iphone_get_device ( iphone_device_t *device ); | 95 | iphone_error_t iphone_get_device ( iphone_device_t *device ); |
| 87 | iphone_error_t iphone_free_device ( iphone_device_t device ); | 96 | iphone_error_t iphone_free_device ( iphone_device_t device ); |
| 88 | 97 | ||
