summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-zone.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-18 15:30:54 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-18 17:07:11 +0100
commit5032b16dfe395112d72798581664992429f90d17 (patch)
treef0b3f31a5427d32223e916261f689a615b2b9ddb /src/resolve/resolved-dns-zone.h
parent744c7693751830149ae78fdaf95c6c6f99d59f07 (diff)
resolved: simplify dns zone logic: take a single key when looking up entries
Instead of taking a DnsQuestion object (i.e. an array of keys) only take a single key. This simplifies things a bit, and as DNS/LLMNR require a single question per query message was unnecessary anyway. This mimics a similar change that was done a while ago for the dns cache logic.
Diffstat (limited to 'src/resolve/resolved-dns-zone.h')
-rw-r--r--src/resolve/resolved-dns-zone.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-zone.h b/src/resolve/resolved-dns-zone.h
index 495d17cdb1..db92113a36 100644
--- a/src/resolve/resolved-dns-zone.h
+++ b/src/resolve/resolved-dns-zone.h
@@ -67,7 +67,7 @@ void dns_zone_flush(DnsZone *z);
int dns_zone_put(DnsZone *z, DnsScope *s, DnsResourceRecord *rr, bool probe);
void dns_zone_remove_rr(DnsZone *z, DnsResourceRecord *rr);
-int dns_zone_lookup(DnsZone *z, DnsQuestion *q, DnsAnswer **answer, DnsAnswer **soa, bool *tentative);
+int dns_zone_lookup(DnsZone *z, DnsResourceKey *key, DnsAnswer **answer, DnsAnswer **soa, bool *tentative);
void dns_zone_item_conflict(DnsZoneItem *i);
void dns_zone_item_ready(DnsZoneItem *i);