summaryrefslogtreecommitdiff
path: root/src/device.h
diff options
context:
space:
mode:
authorArman Uguray <armansito@chromium.org>2014-12-18 17:24:34 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-12-19 18:49:02 -0200
commita891c1adb541a73aac7dfeb33cce3cae807e1155 (patch)
tree0559455a17d624e0230f7ca7047fc8b64ec7dfa3 /src/device.h
parent229a218c8d33b0f9789e29cae9ff48b44ab1a68a (diff)
downloadbluez-a891c1adb541a73aac7dfeb33cce3cae807e1155.tar.gz
core/device: Add getters for GATT db and client
This patch adds btd_device_get_gatt_db and btd_device_get_gatt_client functions.
Diffstat (limited to 'src/device.h')
-rw-r--r--src/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device.h b/src/device.h
index 487bd27d4..a7fefeef8 100644
--- a/src/device.h
+++ b/src/device.h
@@ -67,6 +67,8 @@ const sdp_record_t *btd_device_get_record(struct btd_device *device,
struct gatt_primary *btd_device_get_primary(struct btd_device *device,
const char *uuid);
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);
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);