summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-cache.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-08-26 10:02:37 +0200
committerTom Gundersen <teg@jklm.no>2015-08-26 10:02:37 +0200
commitaa036f1a236dc1b76879cc3870c77c4062adf948 (patch)
tree5ec1c6c9cc50311afe08844eccb6a1069a71ab1b /src/resolve/resolved-dns-cache.h
parentda1d9fc2cc3bf6f89c037e11a584d444d0c3a2a8 (diff)
parentd9fcf2ba1abe81ed3a7a151d6db09139b4dc7a09 (diff)
Merge pull request #1046 from poettering/resolved-dump
dump resolved cache/zone info on SIGSUR1, plus one fix
Diffstat (limited to 'src/resolve/resolved-dns-cache.h')
-rw-r--r--src/resolve/resolved-dns-cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-cache.h b/src/resolve/resolved-dns-cache.h
index fd583a775f..1225e58de4 100644
--- a/src/resolve/resolved-dns-cache.h
+++ b/src/resolve/resolved-dns-cache.h
@@ -43,3 +43,6 @@ int dns_cache_put(DnsCache *c, DnsQuestion *q, int rcode, DnsAnswer *answer, uns
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);
+
+void dns_cache_dump(DnsCache *cache, FILE *f);
+bool dns_cache_is_empty(DnsCache *cache);