From: Vani <vani.patel@stericsson.com>
To: User Name <linux-bluetooth@vger.kernel.org>
Cc: User Name2 <vani.patel@stericsson.com>
Subject: [PATCH BlueZ 2/4] AVRCP: Get media transport DBus connection
Date: Fri, 11 May 2012 16:32:56 +0530 [thread overview]
Message-ID: <1336734176-16669-1-git-send-email-vani.patel@stericsson.com> (raw)
From: Vani Patel <vani.patel@stericsson.com>
Defines a function that will return DBus connection
for media transport
---
audio/transport.c | 5 +++++
audio/transport.h | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
mode change 100644 => 100755 audio/transport.c
mode change 100644 => 100755 audio/transport.h
diff --git a/audio/transport.c b/audio/transport.c
old mode 100644
new mode 100755
index 7bf7309..6ea0748
--- a/audio/transport.c
+++ b/audio/transport.c
@@ -1054,3 +1054,8 @@ struct audio_device *media_transport_get_dev(struct media_transport *transport)
{
return transport->device;
}
+
+DBusConnection *media_transport_get_conn(struct media_transport *transport)
+{
+ return transport->conn;
+}
diff --git a/audio/transport.h b/audio/transport.h
old mode 100644
new mode 100755
index 1f86cde..94dbb69
--- a/audio/transport.h
+++ b/audio/transport.h
@@ -37,3 +37,4 @@ void media_transport_update_delay(struct media_transport *transport,
uint16_t delay);
void transport_get_properties(struct media_transport *transport,
DBusMessageIter *iter);
+DBusConnection *media_transport_get_conn(struct media_transport *transport);
--
1.7.5.4
next reply other threads:[~2012-05-11 11:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-11 11:02 Vani [this message]
2012-05-11 16:14 ` [PATCH BlueZ 2/4] AVRCP: Get media transport DBus connection Gustavo Padovan
2012-05-14 10:19 ` Vani-dineshbhai PATEL X
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1336734176-16669-1-git-send-email-vani.patel@stericsson.com \
--to=vani.patel@stericsson.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).