| IP2Location
*IP2Location_open(char *db)
|
Open IP2Location binary database from a
local path. |
|
| IP2Location_get_country_short(IP2Location
*loc, char *ip)
|
Returns a short country name from ip address. |
|
| IP2Location_get_country_long(IP2Location
*loc, char *ip)
|
Returns a full country name from ip address. |
|
| IP2Location_get_region(IP2Location
*loc, char *ip)
|
Returns a region name from ip address. |
|
| IP2Location_get_city(IP2Location
*loc, char *ip)
|
Returns a city name from ip address. |
|
| IP2Location_get_latitude(IP2Location
*loc, char *ip) |
Returns city's latitude name from ip address. |
|
| IP2Location_get_longitude(IP2Location
*loc, char *ip) |
Returns city's longitude name from ip address. |
|
| IP2Location_get_isp(IP2Location
*loc, char *ip) |
Returns an ISP name from ip address. |
|
| IP2Location_get_domain(IP2Location
*loc, char *ip)
|
Returns a domain name from ip address. |
|
| IP2Location_get_zipcode(IP2Location
*loc, char *ip)
|
Returns zip code from ip address. |
|
| IP2Location_get_timezone(IP2Location
*loc, char *ip)
|
Returns zone from ip address. |
|
| IP2Location_get_netspeed(IP2Location
*loc, char *ip)
|
Returns connect type from ip address. |
|
| IP2Location_get_all(IP2Location
*loc, char *ip)
|
Returns an array of country short name, country long
name, region, city, latitude, longitude and domain name for an IP address. |
|
| IP2Location_close(IP2Location *loc) |
Close IP2Location binary database from a local path. |
|
| IP2Location_free_record(pointer) |
Release data structure memory. IP2Location_free_record
|