From 167363403b54accb2442fe10a8c588532ab4c26f Mon Sep 17 00:00:00 2001 From: nils Date: Wed, 29 Feb 2012 16:42:59 -0800 Subject: Rename address family specific IPv4 geoip functions in preparation for IPv6 support --- src/or/geoip.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/or/geoip.h') diff --git a/src/or/geoip.h b/src/or/geoip.h index 4aed4e07bb..e468c270e7 100644 --- a/src/or/geoip.h +++ b/src/or/geoip.h @@ -13,11 +13,11 @@ #define _TOR_GEOIP_H #ifdef GEOIP_PRIVATE -int geoip_parse_entry(const char *line); +int geoip_ipv4_parse_entry(const char *line); #endif int should_record_bridge_info(const or_options_t *options); int geoip_load_file(const char *filename, const or_options_t *options); -int geoip_get_country_by_ip(uint32_t ipaddr); +int geoip_get_country_by_ipv4(uint32_t ipaddr); int geoip_get_country_by_addr(const tor_addr_t *addr); int geoip_get_n_countries(void); const char *geoip_get_country_name(country_t num); -- cgit v1.2.3-54-g00ecf