logind: Move the code that interfaces with logind to liblogind.so 43/31443/1
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Tue, 2 Dec 2014 19:48:37 +0000 (21:48 +0200)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Thu, 4 Dec 2014 17:23:47 +0000 (19:23 +0200)
commit3ad6a0d7c577c30601a60581a28c2c8deaa9767c
treef99259a6796b98ae2abdae00be2b6f929dbc1b94
parent9eff15e03051a1e82a4002e175543dbd02233300
logind: Move the code that interfaces with logind to liblogind.so

This doesn't change the behaviour in any important way. The purpose of
this move is to provide access to logind from multiple modules without
needing to use the logind API from more than one place. Currently
there's only one module using liblogind.so, but module-tunnel-manager
will need seat tracking, so that will be another module that needs to
access logind.

Change-Id: I352193fef0d0b0601ea509af501af395786c6cf9
src/Makefile.am
src/modules/logind/logind.c [new file with mode: 0644]
src/modules/logind/logind.h [new file with mode: 0644]
src/modules/module-systemd-login.c