summaryrefslogtreecommitdiff
path: root/profiles/audio/avdtp.h
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2012-12-12 11:28:04 +0100
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-12-19 13:57:25 +0200
commit40473b9b46952c0a7bfdbb3ebdef46e60057ab29 (patch)
treef9f67fe6c03ef047629b5d653af280167e796717 /profiles/audio/avdtp.h
parent17f40303b6090d3b2b19bcdaeaba4b70c7eabeeb (diff)
downloadbluez-40473b9b46952c0a7bfdbb3ebdef46e60057ab29.tar.gz
avdtp: Replace avdtp_get_peers with adapter and device getters
This will allow to directly pass adapter or device object instead of looking for them with addresses later on.
Diffstat (limited to 'profiles/audio/avdtp.h')
-rw-r--r--profiles/audio/avdtp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/profiles/audio/avdtp.h b/profiles/audio/avdtp.h
index dbdf8f45e..8f0d7e643 100644
--- a/profiles/audio/avdtp.h
+++ b/profiles/audio/avdtp.h
@@ -305,7 +305,8 @@ uint8_t avdtp_error_category(struct avdtp_error *err);
int avdtp_error_error_code(struct avdtp_error *err);
int avdtp_error_posix_errno(struct avdtp_error *err);
-void avdtp_get_peers(struct avdtp *session, bdaddr_t *src, bdaddr_t *dst);
+struct btd_adapter *avdtp_get_adapter(struct avdtp *session);
+struct btd_device *avdtp_get_device(struct avdtp *session);
gboolean avdtp_stream_setup_active(struct avdtp *session);
void avdtp_set_device_disconnect(struct avdtp *session, gboolean dev_dc);