]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/resolve/resolved-dns-synthesize.h
resolved: synthesize RRs for data from /etc/hosts
[thirdparty/systemd.git] / src / resolve / resolved-dns-synthesize.h
index e43d96cb2ca202e03ae3a8ff870ac495d3b76e08..5d829bb2e72c72939eef52ad24cb8885a61b834e 100644 (file)
@@ -23,4 +23,8 @@
 #include "resolved-dns-question.h"
 #include "resolved-manager.h"
 
-int dns_synthesize_answer(Manager *m, DnsQuestion *q, int ifindex, uint64_t flags, DnsAnswer **ret, DnsProtocol *ret_protocol, int *ret_family);
+int dns_synthesize_ifindex(int ifindex);
+int dns_synthesize_family(uint64_t flags);
+DnsProtocol dns_synthesize_protocol(uint64_t flags);
+
+int dns_synthesize_answer(Manager *m, DnsQuestion *q, int ifindex, DnsAnswer **ret);