diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-02-02 15:00:35 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-02-02 15:00:35 -0500 |
commit | eafa252b26ecf83a8a48e7e19a3315e1d2983186 (patch) | |
tree | 138718b77c1f7de05512f2dd6f674dd000baad05 /src/or/geoip.h | |
parent | 9e48338a12fd1fef840dc49c702b4a628af67cc0 (diff) | |
parent | 475218c108ad84aa302f0daec013faab9ff778f2 (diff) | |
download | tor-eafa252b26ecf83a8a48e7e19a3315e1d2983186.tar.gz tor-eafa252b26ecf83a8a48e7e19a3315e1d2983186.zip |
Merge remote-tracking branch 'dgoulet/ticket24902_029_05'
Diffstat (limited to 'src/or/geoip.h')
-rw-r--r-- | src/or/geoip.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/geoip.h b/src/or/geoip.h index ccedc1bc1f..753bdbf82a 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); |