]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/login/logind-gperf.gperf
polkit: simplify bus_verify_polkit_async() + drop auth-by-cap dbus feature
[thirdparty/systemd.git] / src / login / logind-gperf.gperf
CommitLineData
9ee03516 1/* SPDX-License-Identifier: LGPL-2.1-or-later */
f975e971 2%{
4831981d
SL
3#if __GNUC__ >= 7
4_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
5#endif
f975e971
LP
6#include <stddef.h>
7#include "conf-parser.h"
8#include "logind.h"
9%}
10struct ConfigPerfItem;
11%null_strings
12%language=ANSI-C
13%define slot-name section_and_lvalue
14%define hash-function-name logind_gperf_hash
15%define lookup-function-name logind_gperf_lookup
16%readonly-tables
17%omit-struct-type
18%struct-type
19%includes
20%%
28414939
ZJS
21Login.NAutoVTs, config_parse_n_autovts, 0, offsetof(Manager, n_autovts)
22Login.ReserveVT, config_parse_unsigned, 0, offsetof(Manager, reserve_vt)
23Login.KillUserProcesses, config_parse_bool, 0, offsetof(Manager, kill_user_processes)
24Login.KillOnlyUsers, config_parse_strv, 0, offsetof(Manager, kill_only_users)
25Login.KillExcludeUsers, config_parse_strv, 0, offsetof(Manager, kill_exclude_users)
26Login.InhibitDelayMaxSec, config_parse_sec, 0, offsetof(Manager, inhibit_delay_max)
9afe9efb 27Login.UserStopDelaySec, config_parse_sec, 0, offsetof(Manager, user_stop_delay)
cd4dd90b 28Login.SleepOperation, config_parse_handle_action_sleep, 0, offsetof(Manager, handle_action_sleep_mask)
28414939 29Login.HandlePowerKey, config_parse_handle_action, 0, offsetof(Manager, handle_power_key)
a520bb66
YA
30Login.HandlePowerKeyLongPress, config_parse_handle_action, 0, offsetof(Manager, handle_power_key_long_press)
31Login.HandleRebootKey, config_parse_handle_action, 0, offsetof(Manager, handle_reboot_key)
32Login.HandleRebootKeyLongPress, config_parse_handle_action, 0, offsetof(Manager, handle_reboot_key_long_press)
28414939 33Login.HandleSuspendKey, config_parse_handle_action, 0, offsetof(Manager, handle_suspend_key)
a520bb66 34Login.HandleSuspendKeyLongPress, config_parse_handle_action, 0, offsetof(Manager, handle_suspend_key_long_press)
28414939 35Login.HandleHibernateKey, config_parse_handle_action, 0, offsetof(Manager, handle_hibernate_key)
a520bb66 36Login.HandleHibernateKeyLongPress, config_parse_handle_action, 0, offsetof(Manager, handle_hibernate_key_long_press)
28414939
ZJS
37Login.HandleLidSwitch, config_parse_handle_action, 0, offsetof(Manager, handle_lid_switch)
38Login.HandleLidSwitchExternalPower, config_parse_handle_action, 0, offsetof(Manager, handle_lid_switch_ep)
39Login.HandleLidSwitchDocked, config_parse_handle_action, 0, offsetof(Manager, handle_lid_switch_docked)
40Login.PowerKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, power_key_ignore_inhibited)
41Login.SuspendKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, suspend_key_ignore_inhibited)
42Login.HibernateKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, hibernate_key_ignore_inhibited)
43Login.LidSwitchIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, lid_switch_ignore_inhibited)
adbb2b6a 44Login.RebootKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, reboot_key_ignore_inhibited)
28414939
ZJS
45Login.HoldoffTimeoutSec, config_parse_sec, 0, offsetof(Manager, holdoff_timeout_usec)
46Login.IdleAction, config_parse_handle_action, 0, offsetof(Manager, idle_action)
47Login.IdleActionSec, config_parse_sec, 0, offsetof(Manager, idle_action_usec)
48Login.RuntimeDirectorySize, config_parse_tmpfs_size, 0, offsetof(Manager, runtime_dir_size)
08a767f1 49Login.RuntimeDirectoryInodesMax, config_parse_iec_uint64, 0, offsetof(Manager, runtime_dir_inodes)
28414939
ZJS
50Login.RemoveIPC, config_parse_bool, 0, offsetof(Manager, remove_ipc)
51Login.InhibitorsMax, config_parse_uint64, 0, offsetof(Manager, inhibitors_max)
52Login.SessionsMax, config_parse_uint64, 0, offsetof(Manager, sessions_max)
91611136 53Login.UserTasksMax, config_parse_compat_user_tasks_max, 0, 0
82325af3 54Login.StopIdleSessionSec, config_parse_sec_fix_0, 0, offsetof(Manager, stop_idle_session_usec)