summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-synthesize.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-22 12:24:20 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-25 17:19:19 +0100
commitdd0bc0f1414cc1d0fa73a29470bd14944e4942d3 (patch)
tree9ac5ed0c4f799b260ae93cb8254898ea458fa4e9 /src/resolve/resolved-dns-synthesize.h
parent528e685ebd3657f2531f8666c9e4bba6fbd38acd (diff)
resolved: synthesize RRs for data from /etc/hosts
This way the difference between lookups via NSS and our native bus API should become minimal.
Diffstat (limited to 'src/resolve/resolved-dns-synthesize.h')
-rw-r--r--src/resolve/resolved-dns-synthesize.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-synthesize.h b/src/resolve/resolved-dns-synthesize.h
index e43d96cb2c..5d829bb2e7 100644
--- a/src/resolve/resolved-dns-synthesize.h
+++ b/src/resolve/resolved-dns-synthesize.h
@@ -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);