diff options
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | 2011-03-28 19:40:50 -0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2011-03-30 19:15:54 +0300 |
commit | a0b6c596e9bc3873cc150d0663a792b79d591efa (patch) | |
tree | 40edceaab7811bfdf2e91b03ddfd8626336120d2 /attrib/client.h | |
parent | fc19dbe0d03b4d142934ca1544a76e5ad91ee827 (diff) | |
download | bluez-a0b6c596e9bc3873cc150d0663a792b79d591efa.tar.gz |
Add support for re-using the attrib channel
In some cases, when the device is already connected there's no need
to create another GAttrib instance.
This will allow the Attrib client to use the connection already
estabilished, this will be very useful when we support more
LE profiles.
Diffstat (limited to 'attrib/client.h')
-rw-r--r-- | attrib/client.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/attrib/client.h b/attrib/client.h index 650b0c10..b4a4eccb 100644 --- a/attrib/client.h +++ b/attrib/client.h @@ -23,5 +23,6 @@ */ int attrib_client_register(DBusConnection *connection, - struct btd_device *device, int psm, GSList *primaries); + struct btd_device *device, int psm, + GAttrib *attrib, GSList *primaries); void attrib_client_unregister(struct btd_device *device); |