]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/login/logind-gperf.gperf
tree-wide: adjust fall through comments so that gcc is happy
[thirdparty/systemd.git] / src / login / logind-gperf.gperf
CommitLineData
f975e971 1%{
4831981d
SL
2#if __GNUC__ >= 7
3_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
4#endif
f975e971
LP
5#include <stddef.h>
6#include "conf-parser.h"
7#include "logind.h"
8%}
9struct ConfigPerfItem;
10%null_strings
11%language=ANSI-C
12%define slot-name section_and_lvalue
13%define hash-function-name logind_gperf_hash
14%define lookup-function-name logind_gperf_lookup
15%readonly-tables
16%omit-struct-type
17%struct-type
18%includes
19%%
c29b65f7 20Login.NAutoVTs, config_parse_n_autovts, 0, offsetof(Manager, n_autovts)
8e7fd6ad
LP
21Login.ReserveVT, config_parse_unsigned, 0, offsetof(Manager, reserve_vt)
22Login.KillUserProcesses, config_parse_bool, 0, offsetof(Manager, kill_user_processes)
23Login.KillOnlyUsers, config_parse_strv, 0, offsetof(Manager, kill_only_users)
24Login.KillExcludeUsers, config_parse_strv, 0, offsetof(Manager, kill_exclude_users)
7f602784 25Login.InhibitDelayMaxSec, config_parse_sec, 0, offsetof(Manager, inhibit_delay_max)
23406ce5
LP
26Login.HandlePowerKey, config_parse_handle_action, 0, offsetof(Manager, handle_power_key)
27Login.HandleSuspendKey, config_parse_handle_action, 0, offsetof(Manager, handle_suspend_key)
28Login.HandleHibernateKey, config_parse_handle_action, 0, offsetof(Manager, handle_hibernate_key)
29Login.HandleLidSwitch, config_parse_handle_action, 0, offsetof(Manager, handle_lid_switch)
3c56cab4 30Login.HandleLidSwitchDocked, config_parse_handle_action, 0, offsetof(Manager, handle_lid_switch_docked)
8e7fd6ad
LP
31Login.PowerKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, power_key_ignore_inhibited)
32Login.SuspendKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, suspend_key_ignore_inhibited)
33Login.HibernateKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, hibernate_key_ignore_inhibited)
34Login.LidSwitchIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, lid_switch_ignore_inhibited)
9d10cbee 35Login.HoldoffTimeoutSec, config_parse_sec, 0, offsetof(Manager, holdoff_timeout_usec)
23406ce5 36Login.IdleAction, config_parse_handle_action, 0, offsetof(Manager, idle_action)
7f602784 37Login.IdleActionSec, config_parse_sec, 0, offsetof(Manager, idle_action_usec)
1c231f56 38Login.RuntimeDirectorySize, config_parse_tmpfs_size, 0, offsetof(Manager, runtime_dir_size)
66cdd0f2 39Login.RemoveIPC, config_parse_bool, 0, offsetof(Manager, remove_ipc)
c5a11ae2 40Login.InhibitorsMax, config_parse_uint64, 0, offsetof(Manager, inhibitors_max)
183e0738 41Login.SessionsMax, config_parse_uint64, 0, offsetof(Manager, sessions_max)
c06eec15 42Login.UserTasksMax, config_parse_user_tasks_max,0, offsetof(Manager, user_tasks_max)