diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2011-01-21 06:56:55 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2011-01-21 06:56:55 +0200 |
commit | bda6bb0079268b7db27695f40168aba07e960d8b (patch) | |
tree | d62077f2b6654a05c54d2e6108f3f9e08175f8b0 /src/device.h | |
parent | b115f344441c31c642f360fa5ce7d2fc73c1cfb2 (diff) |
Keep connection handle information inside adapter_ops
There's no point to export connection handle details to the core daemon
since it will not be available in the management interface. Instead
track the handles inside hciops (managment interface will do this inside
the kernel).
Diffstat (limited to 'src/device.h')
-rw-r--r-- | src/device.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/device.h b/src/device.h index 5dea953d..f1bdd395 100644 --- a/src/device.h +++ b/src/device.h @@ -98,11 +98,8 @@ void device_set_authorizing(struct btd_device *device, gboolean auth); void device_set_renewed_key(struct btd_device *device, gboolean renewed); gboolean device_set_debug_key(struct btd_device *device, uint8_t *key); gboolean device_get_debug_key(struct btd_device *device, uint8_t *key); -void device_add_connection(struct btd_device *device, DBusConnection *conn, - uint16_t handle); -void device_remove_connection(struct btd_device *device, DBusConnection *conn, - uint16_t handle); -gboolean device_has_connection(struct btd_device *device, uint16_t handle); +void device_add_connection(struct btd_device *device, DBusConnection *conn); +void device_remove_connection(struct btd_device *device, DBusConnection *conn); void device_request_disconnect(struct btd_device *device, DBusMessage *msg); typedef void (*disconnect_watch) (struct btd_device *device, gboolean removal, |