summaryrefslogtreecommitdiff
path: root/src/profile.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-10-01 13:43:00 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-10-01 13:43:00 +0300
commit14460ad72f9c1ba11d706928c2b617bb915a3d22 (patch)
tree334049d904bb9084e4a917357e8bea65146224ac /src/profile.h
parentf59b07e39338dd7b673c47ea3e835e3caf233a08 (diff)
downloadbluez-14460ad72f9c1ba11d706928c2b617bb915a3d22.tar.gz
core: Add btd_profile parameter to profile disconnect callback
Diffstat (limited to 'src/profile.h')
-rw-r--r--src/profile.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/profile.h b/src/profile.h
index 1702901a6..e20b38354 100644
--- a/src/profile.h
+++ b/src/profile.h
@@ -43,7 +43,9 @@ struct btd_profile {
int (*connect) (struct btd_device *device, struct btd_profile *profile,
btd_profile_cb cb);
- int (*disconnect) (struct btd_device *device, btd_profile_cb cb);
+ int (*disconnect) (struct btd_device *device,
+ struct btd_profile *profile,
+ btd_profile_cb cb);
int (*adapter_probe) (struct btd_profile *p,
struct btd_adapter *adapter);