3 _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
6 #include "conf-parser.h"
12 %define slot-name section_and_lvalue
13 %define hash-function-name logind_gperf_hash
14 %define lookup-function-name logind_gperf_lookup
20 Login.NAutoVTs, config_parse_n_autovts, 0, offsetof(Manager, n_autovts)
21 Login.ReserveVT, config_parse_unsigned, 0, offsetof(Manager, reserve_vt)
22 Login.KillUserProcesses, config_parse_bool, 0, offsetof(Manager, kill_user_processes)
23 Login.KillOnlyUsers, config_parse_strv, 0, offsetof(Manager, kill_only_users)
24 Login.KillExcludeUsers, config_parse_strv, 0, offsetof(Manager, kill_exclude_users)
25 Login.InhibitDelayMaxSec, config_parse_sec, 0, offsetof(Manager, inhibit_delay_max)
26 Login.HandlePowerKey, config_parse_handle_action, 0, offsetof(Manager, handle_power_key)
27 Login.HandleSuspendKey, config_parse_handle_action, 0, offsetof(Manager, handle_suspend_key)
28 Login.HandleHibernateKey, config_parse_handle_action, 0, offsetof(Manager, handle_hibernate_key)
29 Login.HandleLidSwitch, config_parse_handle_action, 0, offsetof(Manager, handle_lid_switch)
30 Login.HandleLidSwitchDocked, config_parse_handle_action, 0, offsetof(Manager, handle_lid_switch_docked)
31 Login.PowerKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, power_key_ignore_inhibited)
32 Login.SuspendKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, suspend_key_ignore_inhibited)
33 Login.HibernateKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, hibernate_key_ignore_inhibited)
34 Login.LidSwitchIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, lid_switch_ignore_inhibited)
35 Login.HoldoffTimeoutSec, config_parse_sec, 0, offsetof(Manager, holdoff_timeout_usec)
36 Login.IdleAction, config_parse_handle_action, 0, offsetof(Manager, idle_action)
37 Login.IdleActionSec, config_parse_sec, 0, offsetof(Manager, idle_action_usec)
38 Login.RuntimeDirectorySize, config_parse_tmpfs_size, 0, offsetof(Manager, runtime_dir_size)
39 Login.RemoveIPC, config_parse_bool, 0, offsetof(Manager, remove_ipc)
40 Login.InhibitorsMax, config_parse_uint64, 0, offsetof(Manager, inhibitors_max)
41 Login.SessionsMax, config_parse_uint64, 0, offsetof(Manager, sessions_max)
42 Login.UserTasksMax, config_parse_user_tasks_max,0, offsetof(Manager, user_tasks_max)