summaryrefslogtreecommitdiffstats
path: root/src/log.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-07-26 17:32:27 +0200
committerGravatar Martin Szulecki2014-07-26 17:32:27 +0200
commit06a26dbc0c9fc7e96d211481bc6dd2944d7aeb36 (patch)
treecc4789377ed7b2cb001c26d9dd2bdcea3fa1707f /src/log.h
parentaede4d06c49a8446e8011ab569c765a4f4ba32e7 (diff)
downloadusbmuxd-lograw.tar.gz
usbmuxd-lograw.tar.bz2
Add usbmuxd_log_buffer helper for easier debugging of binary payloadslograw
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.h b/src/log.h
index 1fb77ee..af0e359 100644
--- a/src/log.h
+++ b/src/log.h
@@ -39,6 +39,6 @@ void log_enable_syslog();
void log_disable_syslog();
void usbmuxd_log(enum loglevel level, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
-
+void usbmuxd_log_buffer(enum loglevel level, const unsigned char *data, const size_t length);
#endif