summaryrefslogtreecommitdiff
path: root/src/device.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-08-01 17:05:36 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-08-02 09:34:01 -0700
commita65ddf710584f2b3dad04fb5e3d725ba340ea1ef (patch)
tree00a4f11208a14a3ba3e79c9df1da2940dfd02449 /src/device.h
parent7adb3aa7efc3d70381c411c031f579ff63786994 (diff)
downloadbluez-a65ddf710584f2b3dad04fb5e3d725ba340ea1ef.tar.gz
sixaxis: Fix fliping device.trusted automatically
device.trusted is a user preference which controls if the devices needs to be authorized or not so the plugin shall not overwrite it and instead just honor what user has set and skip authorizing if already trusted. Fixes: https://github.com/bluez/bluez/issues/372
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 004d3a78b..cc474bd88 100644
--- a/src/device.h
+++ b/src/device.h
@@ -54,6 +54,7 @@ struct device_addr_type {
int device_addr_type_cmp(gconstpointer a, gconstpointer b);
GSList *btd_device_get_uuids(struct btd_device *device);
+bool btd_device_has_uuid(struct btd_device *device, const char *uuid);
void device_probe_profiles(struct btd_device *device, GSList *profiles);
void btd_device_set_record(struct btd_device *device, const char *uuid,