Branch data Line data Source code
1 : : %{
2 : : #if __GNUC__ >= 7
3 : : _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
4 : : #endif
5 : : #include <stddef.h>
6 : : #include "conf-parser.h"
7 : : #include "resolved-conf.h"
8 : : %}
9 : : struct ConfigPerfItem;
10 : : %null_strings
11 : : %language=ANSI-C
12 : : %define slot-name section_and_lvalue
13 : : %define hash-function-name resolved_gperf_hash
14 : : %define lookup-function-name resolved_gperf_lookup
15 : : %readonly-tables
16 : : %omit-struct-type
17 : : %struct-type
18 : : %includes
19 : : %%
20 : : Resolve.DNS, config_parse_dns_servers, DNS_SERVER_SYSTEM, 0
21 : : Resolve.FallbackDNS, config_parse_dns_servers, DNS_SERVER_FALLBACK, 0
22 : : Resolve.Domains, config_parse_search_domains, 0, 0
23 : : Resolve.LLMNR, config_parse_resolve_support, 0, offsetof(Manager, llmnr_support)
24 : : Resolve.MulticastDNS, config_parse_resolve_support, 0, offsetof(Manager, mdns_support)
25 : 0 : Resolve.DNSSEC, config_parse_dnssec_mode, 0, offsetof(Manager, dnssec_mode)
26 : : Resolve.DNSOverTLS, config_parse_dns_over_tls_mode, 0, offsetof(Manager, dns_over_tls_mode)
27 : : Resolve.Cache, config_parse_dns_cache_mode, DNS_CACHE_MODE_YES, offsetof(Manager, enable_cache)
28 : : Resolve.DNSStubListener, config_parse_dns_stub_listener_mode, 0, offsetof(Manager, dns_stub_listener_mode)
29 : : Resolve.ReadEtcHosts, config_parse_bool, 0, offsetof(Manager, read_etc_hosts)
|