summaryrefslogtreecommitdiff
path: root/src/device.h
diff options
context:
space:
mode:
authorArchie Pusaka <apusaka@chromium.org>2020-07-17 02:04:32 +0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-07-28 11:01:23 -0700
commitcfe249a5c3420b7a5d0863dac92b75a209745144 (patch)
treec70925ab87aa937e4824fd54e2a278cae4bd78cc /src/device.h
parent4a452057f0245355bd2dda477bc5634a1561258e (diff)
downloadbluez-cfe249a5c3420b7a5d0863dac92b75a209745144.tar.gz
device: add device_remove_bonding function
This patch splits the "bonding removal" function in device.c, because we need to remove bonding information when receiving "virtual cable unplug" in HID profile.
Diffstat (limited to 'src/device.h')
-rw-r--r--src/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device.h b/src/device.h
index cb8d884e8..956fec1ae 100644
--- a/src/device.h
+++ b/src/device.h
@@ -50,6 +50,7 @@ uint16_t btd_device_get_vendor(struct btd_device *device);
uint16_t btd_device_get_vendor_src(struct btd_device *device);
uint16_t btd_device_get_product(struct btd_device *device);
uint16_t btd_device_get_version(struct btd_device *device);
+void device_remove_bonding(struct btd_device *device, uint8_t bdaddr_type);
void device_remove(struct btd_device *device, gboolean remove_stored);
int device_address_cmp(gconstpointer a, gconstpointer b);
int device_bdaddr_cmp(gconstpointer a, gconstpointer b);