summaryrefslogtreecommitdiff
path: root/src/device.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-09-26 16:44:03 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-09-27 10:58:52 +0300
commit7d9718cfcc11eaa9d8059e721301cdc00ef8c82e (patch)
treec88dd82d446400cea327f6dcdb861288b543e9a0 /src/device.h
parentdcbc28940118a14ce175153e5f006551600e9244 (diff)
downloadbluez-7d9718cfcc11eaa9d8059e721301cdc00ef8c82e.tar.gz
input/hog: Use .accept and .disconnect instead of attio
This adds .accept and .disconnect callbacks instead of attio which is deprecated.
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 db108278a..387f598fb 100644
--- a/src/device.h
+++ b/src/device.h
@@ -70,6 +70,7 @@ GSList *btd_device_get_primaries(struct btd_device *device);
struct gatt_db *btd_device_get_gatt_db(struct btd_device *device);
struct bt_gatt_client *btd_device_get_gatt_client(struct btd_device *device);
struct bt_gatt_server *btd_device_get_gatt_server(struct btd_device *device);
+void *btd_device_get_attrib(struct btd_device *device);
void btd_device_gatt_set_service_changed(struct btd_device *device,
uint16_t start, uint16_t end);
bool device_attach_att(struct btd_device *dev, GIOChannel *io);