diff options
| author | 2009-01-22 22:21:12 +0100 | |
|---|---|---|
| committer | 2009-01-22 22:21:12 +0100 | |
| commit | 0934d1ac021dfb7907e4b580b38aa4a938cf2180 (patch) | |
| tree | eceb50d36559f5442c0123320336c5c7d96e996a /include/libiphone/libiphone.h | |
| parent | 7f2e0f5f719a7092b45b0b7d538137a9b7d78567 (diff) | |
| download | libimobiledevice-0934d1ac021dfb7907e4b580b38aa4a938cf2180.tar.gz libimobiledevice-0934d1ac021dfb7907e4b580b38aa4a938cf2180.tar.bz2 | |
Move things around and clean up some code.
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 | ||
