summaryrefslogtreecommitdiffstats
path: root/include/libiphone/libiphone.h
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-01-22 22:21:12 +0100
committerGravatar Jonathan Beck2009-01-22 22:21:12 +0100
commit0934d1ac021dfb7907e4b580b38aa4a938cf2180 (patch)
treeeceb50d36559f5442c0123320336c5c7d96e996a /include/libiphone/libiphone.h
parent7f2e0f5f719a7092b45b0b7d538137a9b7d78567 (diff)
downloadlibimobiledevice-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.h11
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;
struct iphone_msync_client_int;
typedef struct iphone_msync_client_int *iphone_msync_client_t;
-//device related functions
+//debug related functions
+#define DBGMASK_ALL 0xFFFF
+#define DBGMASK_NONE 0x0000
+#define DBGMASK_USBMUX (1 << 1)
+#define DBGMASK_LOCKDOWND (1 << 2)
+#define DBGMASK_MOBILESYNC (1 << 3)
+
+void iphone_set_debug_mask(uint16_t mask);
void iphone_set_debug(int level);
+
+//device related functions
iphone_error_t iphone_get_device ( iphone_device_t *device );
iphone_error_t iphone_free_device ( iphone_device_t device );