summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-gperf.gperf
blob: 8e78fbf06abe02e5215dad3825f83189f3db4226 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
%{
#include <stddef.h>
#include "conf-parser.h"
#include "resolved-conf.h"
%}
struct ConfigPerfItem;
%null_strings
%language=ANSI-C
%define slot-name section_and_lvalue
%define hash-function-name resolved_gperf_hash
%define lookup-function-name resolved_gperf_lookup
%readonly-tables
%omit-struct-type
%struct-type
%includes
%%
Resolve.DNS,          config_parse_dnsv,    DNS_SERVER_SYSTEM,   0
Resolve.FallbackDNS,  config_parse_dnsv,    DNS_SERVER_FALLBACK, 0
Resolve.LLMNR,        config_parse_support, 0,                   offsetof(Manager, llmnr_support)