summaryrefslogtreecommitdiff
path: root/src/device.h
diff options
context:
space:
mode:
authorArman Uguray <armansito@chromium.org>2015-02-18 00:18:35 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2015-02-18 15:03:05 +0200
commit82a210f6593405040f5bce8f5a9a03addf39d364 (patch)
tree7108a6e3617a2590a82eeed01a616a6ddf426327 /src/device.h
parent8d1e036ba0588649c19c2c9c1666628139d7a627 (diff)
downloadbluez-82a210f6593405040f5bce8f5a9a03addf39d364.tar.gz
core: device: Add getter for GATT server
Added btd_device_get_gatt_server function.
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 a7fefeef8..8edd0df21 100644
--- a/src/device.h
+++ b/src/device.h
@@ -69,6 +69,7 @@ struct gatt_primary *btd_device_get_primary(struct btd_device *device,
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_gatt_set_service_changed(struct btd_device *device,
uint16_t start, uint16_t end);
bool device_attach_att(struct btd_device *dev, GIOChannel *io);