diff options
Diffstat (limited to 'src/utils.h')
| -rw-r--r-- | src/utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index 489f610..c1a8e54 100644 --- a/src/utils.h +++ b/src/utils.h | |||
| @@ -24,7 +24,15 @@ | |||
| 24 | 24 | ||
| 25 | #include "libiphone/libiphone.h" | 25 | #include "libiphone/libiphone.h" |
| 26 | 26 | ||
| 27 | #define DBGMASK_USBMUX (1 << 1) | ||
| 28 | #define DBGMASK_LOCKDOWND (1 << 2) | ||
| 29 | #define DBGMASK_MOBILESYNC (1 << 3) | ||
| 30 | |||
| 31 | void iphone_set_debug_mask(uint16_t mask); | ||
| 32 | |||
| 27 | inline void log_debug_msg(const char *format, ...); | 33 | inline void log_debug_msg(const char *format, ...); |
| 34 | inline void log_dbg_msg(uint16_t id, const char *format, ...); | ||
| 35 | |||
| 28 | inline void log_debug_buffer(const char *data, const int length); | 36 | inline void log_debug_buffer(const char *data, const int length); |
| 29 | inline void dump_debug_buffer(const char *file, const char *data, const int length); | 37 | inline void dump_debug_buffer(const char *file, const char *data, const int length); |
| 30 | #endif | 38 | #endif |
