diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/libimobiledevice/libimobiledevice.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/libimobiledevice/libimobiledevice.h b/include/libimobiledevice/libimobiledevice.h index c91ec83..b7a20d8 100644 --- a/include/libimobiledevice/libimobiledevice.h +++ b/include/libimobiledevice/libimobiledevice.h | |||
| @@ -49,9 +49,6 @@ typedef idevice_private *idevice_t; /**< The device handle. */ | |||
| 49 | typedef struct idevice_connection_private idevice_connection_private; | 49 | typedef struct idevice_connection_private idevice_connection_private; |
| 50 | typedef idevice_connection_private *idevice_connection_t; /**< The connection handle. */ | 50 | typedef idevice_connection_private *idevice_connection_t; /**< The connection handle. */ |
| 51 | 51 | ||
| 52 | /* generic */ | ||
| 53 | void idevice_set_debug_level(int level); | ||
| 54 | |||
| 55 | /* discovery (events/asynchronous) */ | 52 | /* discovery (events/asynchronous) */ |
| 56 | /** The event type for device add or removal */ | 53 | /** The event type for device add or removal */ |
| 57 | enum idevice_event_type { | 54 | enum idevice_event_type { |
| @@ -74,6 +71,13 @@ typedef void (*idevice_event_cb_t) (const idevice_event_t *event, void *user_dat | |||
| 74 | /* functions */ | 71 | /* functions */ |
| 75 | 72 | ||
| 76 | /** | 73 | /** |
| 74 | * Set the level of debugging. | ||
| 75 | * | ||
| 76 | * @param level Set to 0 for no debug output or 1 to enable debug output. | ||
| 77 | */ | ||
| 78 | void idevice_set_debug_level(int level); | ||
| 79 | |||
| 80 | /** | ||
| 77 | * Register a callback function that will be called when device add/remove | 81 | * Register a callback function that will be called when device add/remove |
| 78 | * events occur. | 82 | * events occur. |
| 79 | * | 83 | * |
