summaryrefslogtreecommitdiff
path: root/src/feature/relay/dns.h
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2018-07-16 17:19:53 -0400
committerNeel Chauhan <neel@neelc.org>2018-07-16 17:19:53 -0400
commitd807ca1b014e27a2808959dba1a37a0c1d53240f (patch)
treee2d4233dd14ced6f420f6e1944be48a4412a3426 /src/feature/relay/dns.h
parent5aaea38d889ae558ea0e9b01b4c5b58f3935b542 (diff)
downloadtor-d807ca1b014e27a2808959dba1a37a0c1d53240f.tar.gz
tor-d807ca1b014e27a2808959dba1a37a0c1d53240f.zip
Add and use dns_cache_total_allocation()
Diffstat (limited to 'src/feature/relay/dns.h')
-rw-r--r--src/feature/relay/dns.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/relay/dns.h b/src/feature/relay/dns.h
index 69c1764b73..1d5266c73f 100644
--- a/src/feature/relay/dns.h
+++ b/src/feature/relay/dns.h
@@ -38,6 +38,7 @@ void dns_launch_correctness_checks(void);
int dns_seems_to_be_broken(void);
int dns_seems_to_be_broken_for_ipv6(void);
void dns_reset_correctness_checks(void);
+size_t dns_cache_total_allocation(void);
void dump_dns_mem_usage(int severity);
#ifdef DNS_PRIVATE