diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2009-03-19 16:16:19 -0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2009-03-25 18:56:20 -0300 |
commit | c5e75a5051967530f29f9fabfb8593ef2723d57e (patch) | |
tree | 7aaacfce7d767b3a4bb8feef2bd0b6fd1f684190 /audio/a2dp.h | |
parent | bd30e5535a6d713727f8f9433954dcb9dd4b7168 (diff) | |
download | bluez-c5e75a5051967530f29f9fabfb8593ef2723d57e.tar.gz |
Add lock flag for capabilities.
lock flag permits the unix client to detect if there is someone holding
the lock so it can prevent useless attempt of setting a new configuration.
Diffstat (limited to 'audio/a2dp.h')
-rw-r--r-- | audio/a2dp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/a2dp.h b/audio/a2dp.h index cae00d97..0e5f796e 100644 --- a/audio/a2dp.h +++ b/audio/a2dp.h @@ -145,3 +145,6 @@ gboolean a2dp_source_cancel(struct audio_device *dev, unsigned int id); gboolean a2dp_sep_lock(struct a2dp_sep *sep, struct avdtp *session); gboolean a2dp_sep_unlock(struct a2dp_sep *sep, struct avdtp *session); +gboolean a2dp_sep_get_lock(struct a2dp_sep *sep); +struct a2dp_sep *a2dp_get_sep(struct avdtp *session, + struct avdtp_stream *stream); |