From: Daniel Wagner <daniel.wag...@bmw-carit.de> --- include/session.h | 2 ++ src/session.c | 5 +++++ 2 files changed, 7 insertions(+)
diff --git a/include/session.h b/include/session.h index f178bb4..7bd8ce7 100644 --- a/include/session.h +++ b/include/session.h @@ -86,6 +86,8 @@ void connman_session_config_update(struct connman_session *session); GSList *connman_session_allowed_bearers_any(void); void connman_session_free_bearers(GSList *bearers); +const char *connman_session_get_owner(struct connman_session *session); + #ifdef __cplusplus } #endif diff --git a/src/session.c b/src/session.c index 64a91e3..1f109f8 100644 --- a/src/session.c +++ b/src/session.c @@ -493,6 +493,11 @@ GSList *connman_session_allowed_bearers_any(void) return list; } +const char *connman_session_get_owner(struct connman_session *session) +{ + return session->owner; +} + static void append_allowed_bearers(DBusMessageIter *iter, void *user_data) { struct session_info *info = user_data; -- 1.7.12.1.382.gb0576a6 _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman