3 #include "conf-parser.h"
9 %define slot-name section_and_lvalue
10 %define hash-function-name logind_gperf_hash
11 %define lookup-function-name logind_gperf_lookup
17 Login.KillUserProcesses, config_parse_bool, 0, offsetof(Manager, kill_user_processes)
18 Login.KillOnlyUsers, config_parse_strv, 0, offsetof(Manager, kill_only_users)
19 Login.KillExcludeUsers, config_parse_strv, 0, offsetof(Manager, kill_exclude_users)
20 Login.InhibitDelayMaxSec, config_parse_sec, 0, offsetof(Manager, inhibit_delay_max)
21 Login.HandlePowerKey, config_parse_handle_action, 0, offsetof(Manager, handle_power_key)
22 Login.HandleSuspendKey, config_parse_handle_action, 0, offsetof(Manager, handle_suspend_key)
23 Login.HandleHibernateKey, config_parse_handle_action, 0, offsetof(Manager, handle_hibernate_key)
24 Login.HandleLidSwitch, config_parse_handle_action, 0, offsetof(Manager, handle_lid_switch)
25 Login.HandleLidSwitchDocked, config_parse_handle_action, 0, offsetof(Manager, handle_lid_switch_docked)
26 Login.PowerKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, power_key_ignore_inhibited)
27 Login.SuspendKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, suspend_key_ignore_inhibited)
28 Login.HibernateKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, hibernate_key_ignore_inhibited)
29 Login.LidSwitchIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, lid_switch_ignore_inhibited)
30 Login.HoldoffTimeoutSec, config_parse_sec, 0, offsetof(Manager, holdoff_timeout_usec)
31 Login.IdleAction, config_parse_handle_action, 0, offsetof(Manager, idle_action)
32 Login.IdleActionSec, config_parse_sec, 0, offsetof(Manager, idle_action_usec)
33 Login.RuntimeDirectorySize, config_parse_tmpfs_size, 0, offsetof(Manager, runtime_dir_size)
34 Login.RemoveIPC, config_parse_bool, 0, offsetof(Manager, remove_ipc)
35 Login.InhibitorsMax, config_parse_uint64, 0, offsetof(Manager, inhibitors_max)
36 Login.SessionsMax, config_parse_uint64, 0, offsetof(Manager, sessions_max)
37 Login.UserTasksMax, config_parse_user_tasks_max,0, offsetof(Manager, user_tasks_max)
38 Sleep.SuspendMode, config_parse_strv, 0, offsetof(Manager, suspend_mode)
39 Sleep.SuspendState, config_parse_strv, 0, offsetof(Manager, suspend_state)
40 Sleep.HibernateMode, config_parse_strv, 0, offsetof(Manager, hibernate_mode)
41 Sleep.HibernateState, config_parse_strv, 0, offsetof(Manager, hibernate_state)
42 Sleep.HybridSleepMode, config_parse_strv, 0, offsetof(Manager, hybrid_sleep_mode)
43 Sleep.HybridSleepState, config_parse_strv, 0, offsetof(Manager, hybrid_sleep_state)