summaryrefslogtreecommitdiffstats
path: root/src/sdpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdpd.h')
-rw-r--r--src/sdpd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sdpd.h b/src/sdpd.h
index 15eb5940..194d45cb 100644
--- a/src/sdpd.h
+++ b/src/sdpd.h
@@ -27,6 +27,12 @@
#include <bluetooth/bluetooth.h>
#include <bluetooth/sdp.h>
+#ifdef SDP_DEBUG
+#define SDPDBG(fmt, arg...) syslog(LOG_DEBUG, "%s: " fmt "\n", __func__ , ## arg)
+#else
+#define SDPDBG(fmt...)
+#endif
+
typedef struct request {
bdaddr_t device;
bdaddr_t bdaddr;