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 f1915db..288807a 100644 --- a/obexd/client/session.c +++ b/obexd/client/session.c @@ -892,6 +892,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 b0b3655..319d529 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.3 -- 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