]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/resolve/resolved-dns-cache.h
resolved: dump cache and zone contents to syslog on SIGUSR1
[thirdparty/systemd.git] / src / resolve / resolved-dns-cache.h
index fd583a775f6585ea07975c019a6e90878a3442fe..1225e58de4c85b1ef8c3b9b1b11a83646e9adb3c 100644 (file)
@@ -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);