summaryrefslogtreecommitdiff
path: root/monitor/packet.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2018-10-05 11:47:47 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2018-10-08 10:51:13 +0300
commit78b3106989dd57a30906b9a00940f74a1df609dc (patch)
treef580a2eba453a3859ed0719b26e6fc26736c9ab4 /monitor/packet.h
parent0aabe64aafca212ae9067f6a02705befc5c1bc26 (diff)
downloadbluez-78b3106989dd57a30906b9a00940f74a1df609dc.tar.gz
monitor: Add support for user input/output data
This detects if the user logging is an input/output and then proceed to decode the header which inform for which CID and PSM the data is for.
Diffstat (limited to 'monitor/packet.h')
-rw-r--r--monitor/packet.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/monitor/packet.h b/monitor/packet.h
index 03279e114..199e15e58 100644
--- a/monitor/packet.h
+++ b/monitor/packet.h
@@ -83,7 +83,8 @@ void packet_system_note(struct timeval *tv, struct ucred *cred,
uint16_t index, const void *message);
void packet_user_logging(struct timeval *tv, struct ucred *cred,
uint16_t index, uint8_t priority,
- const char *ident, const char *message);
+ const char *ident, const void *data,
+ uint16_t size);
void packet_hci_command(struct timeval *tv, struct ucred *cred, uint16_t index,
const void *data, uint16_t size);