]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/login/logind-gperf.gperf
logind: automatically remove SysV + POSIX IPC objects when the users owning them...
[thirdparty/systemd.git] / src / login / logind-gperf.gperf
CommitLineData
f975e971
LP
1%{
2#include <stddef.h>
3#include "conf-parser.h"
4#include "logind.h"
5%}
6struct 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%%
8e7fd6ad
LP
17Login.NAutoVTs, config_parse_unsigned, 0, offsetof(Manager, n_autovts)
18Login.ReserveVT, config_parse_unsigned, 0, offsetof(Manager, reserve_vt)
19Login.KillUserProcesses, config_parse_bool, 0, offsetof(Manager, kill_user_processes)
20Login.KillOnlyUsers, config_parse_strv, 0, offsetof(Manager, kill_only_users)
21Login.KillExcludeUsers, config_parse_strv, 0, offsetof(Manager, kill_exclude_users)
7f602784 22Login.InhibitDelayMaxSec, config_parse_sec, 0, offsetof(Manager, inhibit_delay_max)
23406ce5
LP
23Login.HandlePowerKey, config_parse_handle_action, 0, offsetof(Manager, handle_power_key)
24Login.HandleSuspendKey, config_parse_handle_action, 0, offsetof(Manager, handle_suspend_key)
25Login.HandleHibernateKey, config_parse_handle_action, 0, offsetof(Manager, handle_hibernate_key)
26Login.HandleLidSwitch, config_parse_handle_action, 0, offsetof(Manager, handle_lid_switch)
8e7fd6ad
LP
27Login.PowerKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, power_key_ignore_inhibited)
28Login.SuspendKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, suspend_key_ignore_inhibited)
29Login.HibernateKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, hibernate_key_ignore_inhibited)
30Login.LidSwitchIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, lid_switch_ignore_inhibited)
23406ce5 31Login.IdleAction, config_parse_handle_action, 0, offsetof(Manager, idle_action)
7f602784 32Login.IdleActionSec, config_parse_sec, 0, offsetof(Manager, idle_action_usec)
1c231f56 33Login.RuntimeDirectorySize, config_parse_tmpfs_size, 0, offsetof(Manager, runtime_dir_size)
66cdd0f2 34Login.RemoveIPC, config_parse_bool, 0, offsetof(Manager, remove_ipc)