From 653a17cc3bbeaae5917ef5061e5592f0fcb1e5ea Mon Sep 17 00:00:00 2001 From: Eder Ruiz Maria Date: Sat, 20 Jul 2013 20:17:16 -0400 Subject: emulator: Add support for delete a hook --- emulator/btdev.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'emulator/btdev.h') diff --git a/emulator/btdev.h b/emulator/btdev.h index 085093f40..5118a4a0d 100644 --- a/emulator/btdev.h +++ b/emulator/btdev.h @@ -89,3 +89,6 @@ void btdev_receive_h4(struct btdev *btdev, const void *data, uint16_t len); int btdev_add_hook(struct btdev *btdev, enum btdev_hook_type type, uint16_t opcode, btdev_hook_func handler, void *user_data); + +bool btdev_del_hook(struct btdev *btdev, enum btdev_hook_type type, + uint16_t opcode); -- cgit v1.2.1