summaryrefslogtreecommitdiff
path: root/src/libsystemd-terminal/idev.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-08-26 15:03:41 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-08-27 18:42:28 +0200
commit7ed3a638b2e4ffb5e76a0cf1a008e1c7233edb75 (patch)
tree8c6842d7117fa38669ff385272d7d0fcfcdbe554 /src/libsystemd-terminal/idev.c
parentaae2b488d084cf2af9a552a55e1d9cc614f2a12a (diff)
terminal: add system view interface
We're going to need multiple binaries that provide session-services via logind device management. To avoid re-writing the seat/session/device scan/monitor interface for each of them, this commit adds a generic helper to libsystemd-terminal: The sysview interface scans and tracks seats, sessions and devices on a system. It basically mirrors the state of logind on the application side. Now, each session-service can listen for matching sessions and attach to them. On each session, managed device access is provided. This way, it is pretty simple to write session-services that attach to multiple sessions (even split across seats).
Diffstat (limited to 'src/libsystemd-terminal/idev.c')
0 files changed, 0 insertions, 0 deletions