aboutsummaryrefslogtreecommitdiff
path: root/src/or/geoip.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-02-02 14:55:01 -0500
committerDavid Goulet <dgoulet@torproject.org>2018-02-02 14:55:01 -0500
commit475218c108ad84aa302f0daec013faab9ff778f2 (patch)
tree58054841fedbea9afe64297e00eedd5f5c0912d3 /src/or/geoip.h
parent33d9889a2bdd611bcc255c68c43d60b8919ab663 (diff)
parente758d659a0bc8b9a0e2bd6a0126755fd1fb58e0a (diff)
downloadtor-475218c108ad84aa302f0daec013faab9ff778f2.tar.gz
tor-475218c108ad84aa302f0daec013faab9ff778f2.zip
Merge branch 'ticket25122_029_02' into ticket24902_029_05
Diffstat (limited to 'src/or/geoip.h')
-rw-r--r--src/or/geoip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/geoip.h b/src/or/geoip.h
index aa0fca50f5..c8ea9f85ea 100644
--- a/src/or/geoip.h
+++ b/src/or/geoip.h
@@ -60,6 +60,8 @@ void geoip_remove_old_clients(time_t cutoff);
clientmap_entry_t *geoip_lookup_client(const tor_addr_t *addr,
const char *transport_name,
geoip_client_action_t action);
+size_t geoip_client_cache_total_allocation(void);
+size_t geoip_client_cache_handle_oom(time_t now, size_t min_remove_bytes);
void geoip_note_ns_response(geoip_ns_response_t response);
char *geoip_get_transport_history(void);