summaryrefslogtreecommitdiff
path: root/src/grp-resolve/systemd-resolved/resolved-gperf.gperf
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-07 00:05:00 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-07 00:05:00 -0400
commit5c2a4ec88de774007b939796823adc4d7cb3c8dd (patch)
treeaa2724fd2bdeb2d1cb0501f05eddc463f3eec563 /src/grp-resolve/systemd-resolved/resolved-gperf.gperf
parentce3326f10b8522ff1b1d2d55c76910a67897dbce (diff)
./move.sh
Diffstat (limited to 'src/grp-resolve/systemd-resolved/resolved-gperf.gperf')
-rw-r--r--src/grp-resolve/systemd-resolved/resolved-gperf.gperf21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/grp-resolve/systemd-resolved/resolved-gperf.gperf b/src/grp-resolve/systemd-resolved/resolved-gperf.gperf
new file mode 100644
index 0000000000..82f26215df
--- /dev/null
+++ b/src/grp-resolve/systemd-resolved/resolved-gperf.gperf
@@ -0,0 +1,21 @@
+%{
+#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_dns_servers, DNS_SERVER_SYSTEM, 0
+Resolve.FallbackDNS, config_parse_dns_servers, DNS_SERVER_FALLBACK, 0
+Resolve.Domains, config_parse_search_domains, 0, 0
+Resolve.LLMNR, config_parse_resolve_support, 0, offsetof(Manager, llmnr_support)
+Resolve.DNSSEC, config_parse_dnssec_mode, 0, offsetof(Manager, dnssec_mode)