summaryrefslogtreecommitdiff
path: root/src/login/logind-dbus.h
Commit message (Collapse)AuthorAgeFilesLines
* logind: rename ActionTableItem → HandleActionDataLennart Poettering2022-03-091-1/+1
| | | | | | | | It stores meta-info about various HandleActions, hence let's name it after that. The fact that it can be seen as stored inside some form of a table is an implementation detail of logind-action.c, and should not leak into other modules, hence let's focus on what it is, not how it is stored.
* logind: load scheduled shutdown on restartLudwig Nussel2022-02-281-0/+2
| | | | | Make sure logind doesn't forget about a scheduled shutdown, even if it gets restarted eg due to a package update.
* logind: refactorLudwig Nussel2022-01-251-1/+2
| | | | | | | Avoid hardcoded strings and string compares related to shutdown actions. Instead put everything into a common structure. Reuse existing HandleAction as index since it's already exposed as property for the button handlers.
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* logind: make sure when we are explicitly asked to terminate ↵Lennart Poettering2020-09-111-1/+1
| | | | | | | | | | session/user/seat to use "replace" job mode Otherwise our request will possibly fail if something else is already enqeued, but given this is an explicit user request, let's not allow things to fail. Fixes: #16702
* shared: split out BusObjectImplementor APIsLennart Poettering2020-06-301-2/+2
| | | | Just some refactoring, no code changes
* logind: convert to the new schemeZbigniew Jędrzejewski-Szmek2020-05-051-0/+3
|
* logind: split out dbus header files into their ownLennart Poettering2019-05-241-0/+31
Previously, logind's logind-session.h would define prototypes for logind-session.c and logind-session-dbus.c. Split that out, so that there's a separate logind-session-dbus.h for that. Similar for seats and users as well as the manager itself. This changes no code, just rearranges where protoypes are located.