]>
Commit | Line | Data |
---|---|---|
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 | %} |
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 | %% | |
7732f92b | 18 | Exec.Boot, config_parse_boot, 0, 0 |
0de7acce | 19 | Exec.ProcessTwo, config_parse_pid2, 0, 0 |
f6d6bad1 LP |
20 | Exec.Parameters, config_parse_strv, 0, offsetof(Settings, parameters) |
21 | Exec.Environment, config_parse_strv, 0, offsetof(Settings, environment) | |
22 | Exec.User, config_parse_string, 0, offsetof(Settings, user) | |
23 | Exec.Capability, config_parse_capability, 0, offsetof(Settings, capability) | |
24 | Exec.DropCapability, config_parse_capability, 0, offsetof(Settings, drop_capability) | |
25 | Exec.KillSignal, config_parse_signal, 0, offsetof(Settings, kill_signal) | |
26 | Exec.Personality, config_parse_personality, 0, offsetof(Settings, personality) | |
27 | Exec.MachineID, config_parse_id128, 0, offsetof(Settings, machine_id) | |
5f932eb9 | 28 | Exec.WorkingDirectory, config_parse_path, 0, offsetof(Settings, working_directory) |
0de7acce | 29 | Exec.PrivateUsers, config_parse_private_users, 0, 0 |
9c1e04d0 | 30 | Exec.NotifyReady, config_parse_bool, 0, offsetof(Settings, notify_ready) |
f6d6bad1 LP |
31 | Files.ReadOnly, config_parse_tristate, 0, offsetof(Settings, read_only) |
32 | Files.Volatile, config_parse_volatile_mode, 0, offsetof(Settings, volatile_mode) | |
33 | Files.Bind, config_parse_bind, 0, 0 | |
34 | Files.BindReadOnly, config_parse_bind, 1, 0 | |
35 | Files.TemporaryFileSystem, config_parse_tmpfs, 0, 0 | |
7b4318b6 LP |
36 | Files.Overlay, config_parse_overlay, 0, 0 |
37 | Files.OverlayReadOnly, config_parse_overlay, 1, 0 | |
0de7acce | 38 | Files.PrivateUsersChown, config_parse_tristate, 0, offsetof(Settings, userns_chown) |
f6d6bad1 LP |
39 | Network.Private, config_parse_tristate, 0, offsetof(Settings, private_network) |
40 | Network.Interface, config_parse_strv, 0, offsetof(Settings, network_interfaces) | |
41 | Network.MACVLAN, config_parse_strv, 0, offsetof(Settings, network_macvlan) | |
42 | Network.IPVLAN, config_parse_strv, 0, offsetof(Settings, network_ipvlan) | |
43 | Network.VirtualEthernet, config_parse_tristate, 0, offsetof(Settings, network_veth) | |
44 | Network.VirtualEthernetExtra, config_parse_veth_extra, 0, 0 | |
d31645ad | 45 | Network.Bridge, config_parse_ifname, 0, offsetof(Settings, network_bridge) |
22b28dfd | 46 | Network.Zone, config_parse_network_zone, 0, 0 |
f6d6bad1 | 47 | Network.Port, config_parse_expose_port, 0, 0 |