diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-05-16 17:50:38 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-05-18 15:35:47 -0700 |
commit | 5efc737f49d4cb98c9b1658d68b226ed4f4c74cf (patch) | |
tree | 071fa5dd8495df20813ecce2553a1ed0177276a8 /monitor/l2cap.h | |
parent | 0247ed333ea9dc0ac914bae68225d5cb3f288f80 (diff) | |
download | bluez-5efc737f49d4cb98c9b1658d68b226ed4f4c74cf.tar.gz |
monitor: Move ATT decoding function into its own file
This moves ATT decoding function from l2cap.c to att.c.
Diffstat (limited to 'monitor/l2cap.h')
-rw-r--r-- | monitor/l2cap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/monitor/l2cap.h b/monitor/l2cap.h index e46042db4..951b411e0 100644 --- a/monitor/l2cap.h +++ b/monitor/l2cap.h @@ -26,6 +26,11 @@ struct l2cap_frame { uint16_t size; }; +void l2cap_frame_init(struct l2cap_frame *frame, uint16_t index, bool in, + uint16_t handle, uint8_t ident, + uint16_t cid, uint16_t psm, + const void *data, uint16_t size); + static inline void l2cap_frame_pull(struct l2cap_frame *frame, const struct l2cap_frame *source, uint16_t len) { |