]>
Commit | Line | Data |
---|---|---|
663996b3 MS |
1 | %{ |
2 | #include <stddef.h> | |
3 | #include "conf-parser.h" | |
4 | #include "logind.h" | |
5 | %} | |
6 | struct ConfigPerfItem; | |
7 | %null_strings | |
8 | %language=ANSI-C | |
9 | %define slot-name section_and_lvalue | |
10 | %define hash-function-name logind_gperf_hash | |
11 | %define lookup-function-name logind_gperf_lookup | |
12 | %readonly-tables | |
13 | %omit-struct-type | |
14 | %struct-type | |
15 | %includes | |
16 | %% | |
17 | Login.NAutoVTs, config_parse_unsigned, 0, offsetof(Manager, n_autovts) | |
18 | Login.ReserveVT, config_parse_unsigned, 0, offsetof(Manager, reserve_vt) | |
19 | Login.KillUserProcesses, config_parse_bool, 0, offsetof(Manager, kill_user_processes) | |
20 | Login.KillOnlyUsers, config_parse_strv, 0, offsetof(Manager, kill_only_users) | |
21 | Login.KillExcludeUsers, config_parse_strv, 0, offsetof(Manager, kill_exclude_users) | |
663996b3 MS |
22 | Login.InhibitDelayMaxSec, config_parse_sec, 0, offsetof(Manager, inhibit_delay_max) |
23 | Login.HandlePowerKey, config_parse_handle_action, 0, offsetof(Manager, handle_power_key) | |
24 | Login.HandleSuspendKey, config_parse_handle_action, 0, offsetof(Manager, handle_suspend_key) | |
25 | Login.HandleHibernateKey, config_parse_handle_action, 0, offsetof(Manager, handle_hibernate_key) | |
26 | Login.HandleLidSwitch, config_parse_handle_action, 0, offsetof(Manager, handle_lid_switch) | |
5eef597e | 27 | Login.HandleLidSwitchDocked, config_parse_handle_action, 0, offsetof(Manager, handle_lid_switch_docked) |
663996b3 MS |
28 | Login.PowerKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, power_key_ignore_inhibited) |
29 | Login.SuspendKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, suspend_key_ignore_inhibited) | |
30 | Login.HibernateKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, hibernate_key_ignore_inhibited) | |
31 | Login.LidSwitchIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, lid_switch_ignore_inhibited) | |
e3bff60a | 32 | Login.HoldoffTimeoutSec, config_parse_sec, 0, offsetof(Manager, holdoff_timeout_usec) |
663996b3 MS |
33 | Login.IdleAction, config_parse_handle_action, 0, offsetof(Manager, idle_action) |
34 | Login.IdleActionSec, config_parse_sec, 0, offsetof(Manager, idle_action_usec) | |
60f067b4 JS |
35 | Login.RuntimeDirectorySize, config_parse_tmpfs_size, 0, offsetof(Manager, runtime_dir_size) |
36 | Login.RemoveIPC, config_parse_bool, 0, offsetof(Manager, remove_ipc) | |
aa27b158 MP |
37 | Login.InhibitorsMax, config_parse_uint64, 0, offsetof(Manager, inhibitors_max) |
38 | Login.SessionsMax, config_parse_uint64, 0, offsetof(Manager, sessions_max) | |
5a920b42 | 39 | Login.UserTasksMax, config_parse_user_tasks_max,0, offsetof(Manager, user_tasks_max) |