From 1e86eab358edcd647b2d3544570e4f6988cc2aa5 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Sun, 26 Oct 2014 16:40:55 +0100 Subject: debug: Fix symbol locality for linker so debug messages are printed again --- include/libimobiledevice/libimobiledevice.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'include') 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. */ typedef struct idevice_connection_private idevice_connection_private; typedef idevice_connection_private *idevice_connection_t; /**< The connection handle. */ -/* generic */ -void idevice_set_debug_level(int level); - /* discovery (events/asynchronous) */ /** The event type for device add or removal */ enum idevice_event_type { @@ -73,6 +70,13 @@ typedef void (*idevice_event_cb_t) (const idevice_event_t *event, void *user_dat /* functions */ +/** + * Set the level of debugging. + * + * @param level Set to 0 for no debug output or 1 to enable debug output. + */ +void idevice_set_debug_level(int level); + /** * Register a callback function that will be called when device add/remove * events occur. -- cgit v1.1-32-gdbae