]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/nspawn/nspawn-gperf.gperf
tty-ask-password: Split out password sending
[thirdparty/systemd.git] / src / nspawn / nspawn-gperf.gperf
1 %{
2 #include <stddef.h>
3 #include "conf-parser.h"
4 #include "nspawn-settings.h"
5 #include "nspawn-expose-ports.h"
6 %}
7 struct 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 %%
18 Exec.Boot, config_parse_tristate, 0, offsetof(Settings, boot)
19 Exec.Parameters, config_parse_strv, 0, offsetof(Settings, parameters)
20 Exec.Environment, config_parse_strv, 0, offsetof(Settings, environment)
21 Exec.User, config_parse_string, 0, offsetof(Settings, user)
22 Exec.Capability, config_parse_capability, 0, offsetof(Settings, capability)
23 Exec.DropCapability, config_parse_capability, 0, offsetof(Settings, drop_capability)
24 Exec.KillSignal, config_parse_signal, 0, offsetof(Settings, kill_signal)
25 Exec.Personality, config_parse_personality, 0, offsetof(Settings, personality)
26 Exec.MachineID, config_parse_id128, 0, offsetof(Settings, machine_id)
27 Files.ReadOnly, config_parse_tristate, 0, offsetof(Settings, read_only)
28 Files.Volatile, config_parse_volatile_mode, 0, offsetof(Settings, volatile_mode)
29 Files.Bind, config_parse_bind, 0, 0
30 Files.BindReadOnly, config_parse_bind, 1, 0
31 Files.TemporaryFileSystem, config_parse_tmpfs, 0, 0
32 Network.Private, config_parse_tristate, 0, offsetof(Settings, private_network)
33 Network.Interface, config_parse_strv, 0, offsetof(Settings, network_interfaces)
34 Network.MACVLAN, config_parse_strv, 0, offsetof(Settings, network_macvlan)
35 Network.IPVLAN, config_parse_strv, 0, offsetof(Settings, network_ipvlan)
36 Network.VirtualEthernet, config_parse_tristate, 0, offsetof(Settings, network_veth)
37 Network.VirtualEthernetExtra, config_parse_veth_extra, 0, 0
38 Network.Bridge, config_parse_string, 0, offsetof(Settings, network_bridge)
39 Network.Port, config_parse_expose_port, 0, 0