summaryrefslogtreecommitdiffstats
path: root/src/idevice.c
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 /src/idevice.c
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 'src/idevice.c')
-rw-r--r--src/idevice.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/idevice.c b/src/idevice.c
index 7ec46ed..c40c59a 100644
--- a/src/idevice.c
+++ b/src/idevice.c
@@ -44,6 +44,7 @@
#else
#include <gnutls/gnutls.h>
#endif
+
#include "idevice.h"
#include "common/userpref.h"
#include "common/thread.h"
@@ -221,6 +222,11 @@ LIBIMOBILEDEVICE_API idevice_error_t idevice_device_list_free(char **devices)
return IDEVICE_E_SUCCESS;
}
+LIBIMOBILEDEVICE_API void idevice_set_debug_level(int level)
+{
+ idevice_debug_level = level;
+}
+
LIBIMOBILEDEVICE_API idevice_error_t idevice_new(idevice_t * device, const char *udid)
{
usbmuxd_device_info_t muxdev;