summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice/libimobiledevice.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-10-26 16:40:55 +0100
committerGravatar Martin Szulecki2014-10-26 16:40:55 +0100
commit1e86eab358edcd647b2d3544570e4f6988cc2aa5 (patch)
tree001359149c1d54804a90260deb29f6c761f7d7e7 /include/libimobiledevice/libimobiledevice.h
parent9418c9957a4bd10c2a6fd19c7e38553fd51a59bf (diff)
downloadlibimobiledevice-1e86eab358edcd647b2d3544570e4f6988cc2aa5.tar.gz
libimobiledevice-1e86eab358edcd647b2d3544570e4f6988cc2aa5.tar.bz2
debug: Fix symbol locality for linker so debug messages are printed again
Diffstat (limited to 'include/libimobiledevice/libimobiledevice.h')
-rw-r--r--include/libimobiledevice/libimobiledevice.h10
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. */
49typedef struct idevice_connection_private idevice_connection_private; 49typedef struct idevice_connection_private idevice_connection_private;
50typedef idevice_connection_private *idevice_connection_t; /**< The connection handle. */ 50typedef idevice_connection_private *idevice_connection_t; /**< The connection handle. */
51 51
52/* generic */
53void 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 */
57enum idevice_event_type { 54enum 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 */
78void 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 *