]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/nspawn/nspawn-gperf.gperf
nspawn: Add support for sysroot pivoting (#5258)
[thirdparty/systemd.git] / src / nspawn / nspawn-gperf.gperf
CommitLineData
f757855e
LP
1%{
2#include <stddef.h>
3#include "conf-parser.h"
f757855e 4#include "nspawn-settings.h"
7a8f6325 5#include "nspawn-expose-ports.h"
f757855e
LP
6%}
7struct ConfigPerfItem;
8%null_strings
9%language=ANSI-C
10%define slot-name section_and_lvalue
11%define hash-function-name nspawn_gperf_hash
12%define lookup-function-name nspawn_gperf_lookup
13%readonly-tables
14%omit-struct-type
15%struct-type
16%includes
17%%
7732f92b 18Exec.Boot, config_parse_boot, 0, 0
0de7acce 19Exec.ProcessTwo, config_parse_pid2, 0, 0
f6d6bad1
LP
20Exec.Parameters, config_parse_strv, 0, offsetof(Settings, parameters)
21Exec.Environment, config_parse_strv, 0, offsetof(Settings, environment)
22Exec.User, config_parse_string, 0, offsetof(Settings, user)
23Exec.Capability, config_parse_capability, 0, offsetof(Settings, capability)
24Exec.DropCapability, config_parse_capability, 0, offsetof(Settings, drop_capability)
25Exec.KillSignal, config_parse_signal, 0, offsetof(Settings, kill_signal)
26Exec.Personality, config_parse_personality, 0, offsetof(Settings, personality)
27Exec.MachineID, config_parse_id128, 0, offsetof(Settings, machine_id)
5f932eb9 28Exec.WorkingDirectory, config_parse_path, 0, offsetof(Settings, working_directory)
b53ede69 29Exec.PivotRoot, config_parse_pivot_root, 0, 0
0de7acce 30Exec.PrivateUsers, config_parse_private_users, 0, 0
9c1e04d0 31Exec.NotifyReady, config_parse_bool, 0, offsetof(Settings, notify_ready)
f6d6bad1
LP
32Files.ReadOnly, config_parse_tristate, 0, offsetof(Settings, read_only)
33Files.Volatile, config_parse_volatile_mode, 0, offsetof(Settings, volatile_mode)
34Files.Bind, config_parse_bind, 0, 0
35Files.BindReadOnly, config_parse_bind, 1, 0
36Files.TemporaryFileSystem, config_parse_tmpfs, 0, 0
7b4318b6
LP
37Files.Overlay, config_parse_overlay, 0, 0
38Files.OverlayReadOnly, config_parse_overlay, 1, 0
0de7acce 39Files.PrivateUsersChown, config_parse_tristate, 0, offsetof(Settings, userns_chown)
f6d6bad1
LP
40Network.Private, config_parse_tristate, 0, offsetof(Settings, private_network)
41Network.Interface, config_parse_strv, 0, offsetof(Settings, network_interfaces)
42Network.MACVLAN, config_parse_strv, 0, offsetof(Settings, network_macvlan)
43Network.IPVLAN, config_parse_strv, 0, offsetof(Settings, network_ipvlan)
44Network.VirtualEthernet, config_parse_tristate, 0, offsetof(Settings, network_veth)
45Network.VirtualEthernetExtra, config_parse_veth_extra, 0, 0
d31645ad 46Network.Bridge, config_parse_ifname, 0, offsetof(Settings, network_bridge)
22b28dfd 47Network.Zone, config_parse_network_zone, 0, 0
f6d6bad1 48Network.Port, config_parse_expose_port, 0, 0