summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-cache.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-30 01:46:27 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-30 01:47:10 +0200
commitd2f47562d5d834339ef3030e345a76a8c6f09c74 (patch)
treee2a8360cf8ad355cabd63a782f6d1de146f74d0a /src/resolve/resolved-dns-cache.h
parent0f05c387597a93fa74cdf7d351fd255aca56026d (diff)
resolved: only cache answer RRs, never additional or authoritative RRs of responses
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 590cf691b3..d88d1d0e15 100644
--- a/src/resolve/resolved-dns-cache.h
+++ b/src/resolve/resolved-dns-cache.h
@@ -40,5 +40,5 @@ typedef struct DnsCache {
void dns_cache_flush(DnsCache *c);
void dns_cache_prune(DnsCache *c);
-int dns_cache_put(DnsCache *c, DnsQuestion *q, int rcode, DnsAnswer *answer, usec_t timestamp);
+int dns_cache_put(DnsCache *c, DnsQuestion *q, int rcode, DnsAnswer *answer, unsigned max_rrs, usec_t timestamp);
int dns_cache_lookup(DnsCache *c, DnsQuestion *q, int *rcode, DnsAnswer **answer);