diff options
author | Eder Ruiz Maria <eder.ruiz@openbossa.org> | 2013-07-20 20:17:16 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-07-24 09:03:49 -0700 |
commit | 653a17cc3bbeaae5917ef5061e5592f0fcb1e5ea (patch) | |
tree | 3c07bd706156ed3f605acb2ddda30a78781400c8 /emulator/btdev.h | |
parent | 5fd080f471fc06e100549419938f3afbfa63083f (diff) | |
download | bluez-653a17cc3bbeaae5917ef5061e5592f0fcb1e5ea.tar.gz |
emulator: Add support for delete a hook
Diffstat (limited to 'emulator/btdev.h')
-rw-r--r-- | emulator/btdev.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |