[PATCH 3/5] obexd: Add function to get the destination from the obc_session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Christian Fetzer <christian.fetzer@xxxxxxxxxxxx>

---
 obexd/client/session.c | 5 +++++
 obexd/client/session.h | 1 +
 2 files changed, 6 insertions(+)

diff --git a/obexd/client/session.c b/obexd/client/session.c
index 3cf3864..b286a34 100644
--- a/obexd/client/session.c
+++ b/obexd/client/session.c
@@ -845,6 +845,11 @@ const char *obc_session_get_owner(struct obc_session *session)
 	return session->owner;
 }
 
+const char *obc_session_get_destination(struct obc_session *session)
+{
+	return session->destination;
+}
+
 const char *obc_session_get_path(struct obc_session *session)
 {
 	return session->path;
diff --git a/obexd/client/session.h b/obexd/client/session.h
index 8a3d629..2475fe4 100644
--- a/obexd/client/session.h
+++ b/obexd/client/session.h
@@ -48,6 +48,7 @@ int obc_session_set_owner(struct obc_session *session, const char *name,
 			GDBusWatchFunction func);
 const char *obc_session_get_owner(struct obc_session *session);
 
+const char *obc_session_get_destination(struct obc_session *session);
 const char *obc_session_get_path(struct obc_session *session);
 const char *obc_session_get_target(struct obc_session *session);
 
-- 
1.8.2.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux