session: Use session pointer instead of string id
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Wed, 19 Sep 2012 11:37:14 +0000 (13:37 +0200)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Thu, 27 Sep 2012 08:28:28 +0000 (10:28 +0200)
commita5e3f919ed56b1aba3893abc780039ad32debb90
tree68e32af56ab7b129d6fcfc7c2cf234fa126cd4b5
parentdc7095e240c3a4ca50805e7f2d2249e6cecd4e78
session: Use session pointer instead of string id

Instead of passing in some string to identify we can use the
connman_session pointer. This allows us to keep the way sessions
are identfied away from the core, e.g. using the D-Bus owner id or
something else.
include/session.h
plugins/session_policy.c
src/session.c