summaryrefslogtreecommitdiff
path: root/src/login/logind.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-02-22 13:19:44 +0100
committerLennart Poettering <lennart@poettering.net>2022-03-09 16:24:11 +0100
commitb0a3a5e53899438def7139c0d7ae7f9f984b744b (patch)
tree00a632232b87c4779a68701260a6446400cd60f9 /src/login/logind.h
parent6800876608f906e862f75d926e0fb2f380b138fc (diff)
downloadsystemd-b0a3a5e53899438def7139c0d7ae7f9f984b744b.tar.gz
logind: rename ActionTableItem → HandleActionData
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.
Diffstat (limited to 'src/login/logind.h')
-rw-r--r--src/login/logind.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/logind.h b/src/login/logind.h
index af9af9e457..1613daa04e 100644
--- a/src/login/logind.h
+++ b/src/login/logind.h
@@ -71,14 +71,14 @@ struct Manager {
/* If a shutdown/suspend was delayed due to an inhibitor this
contains the action we are supposed to start after the
delay is over */
- const ActionTableItem *delayed_action;
+ const HandleActionData *delayed_action;
/* If a shutdown/suspend is currently executed, then this is
* the job of it */
char *action_job;
sd_event_source *inhibit_timeout_source;
- const ActionTableItem *scheduled_shutdown_type;
+ const HandleActionData *scheduled_shutdown_type;
usec_t scheduled_shutdown_timeout;
sd_event_source *scheduled_shutdown_timeout_source;
uid_t scheduled_shutdown_uid;