summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-cache.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-08-22 01:57:58 +0200
committerTom Gundersen <teg@jklm.no>2015-08-22 01:57:58 +0200
commit72aa2c2a2083362afda9f09805563848d54e31df (patch)
tree418b0e257bec66fc0816bd30800cc9d616206dea /src/resolve/resolved-dns-cache.h
parent28b967a87bfa83815ae97e80c02f637a5dd3f454 (diff)
parent26b1c471cdddedf1bb9aebf10f4c3073bdf7a29e (diff)
Merge pull request #1010 from poettering/resolved-question-key
only maintain one question RR key per transaction and other fixes
Diffstat (limited to 'src/resolve/resolved-dns-cache.h')
-rw-r--r--src/resolve/resolved-dns-cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-cache.h b/src/resolve/resolved-dns-cache.h
index 8a9b3d459d..fd583a775f 100644
--- a/src/resolve/resolved-dns-cache.h
+++ b/src/resolve/resolved-dns-cache.h
@@ -40,6 +40,6 @@ void dns_cache_flush(DnsCache *c);
void dns_cache_prune(DnsCache *c);
int dns_cache_put(DnsCache *c, DnsQuestion *q, int rcode, DnsAnswer *answer, unsigned max_rrs, usec_t timestamp, int owner_family, const union in_addr_union *owner_address);
-int dns_cache_lookup(DnsCache *c, DnsQuestion *q, int *rcode, DnsAnswer **answer);
+int dns_cache_lookup(DnsCache *c, DnsResourceKey *key, int *rcode, DnsAnswer **answer);
int dns_cache_check_conflicts(DnsCache *cache, DnsResourceRecord *rr, int owner_family, const union in_addr_union *owner_address);