文件名称:GeoIP C API (Linux下使用)
文件大小:964KB
文件格式:GZ
更新时间:2011-11-07 11:10:42
GeoIP
This API should work on most UNIX and GNU/Linux platforms and is thread-safe.
./configure
make
make check
make install
For installing on Windows, see the READMEwin32.txt file supplied with the distribution.
Usage
This following sample code looks up the country code by IP address:
#include
【文件预览】:
GeoIP-1.4.5
----GeoIP.spec.in(2KB)
----missing(6KB)
----man()
--------geoipupdate.1(2KB)
--------Makefile.in(6KB)
--------geoiplookup.1(1KB)
--------Makefile.am(368B)
----ltmain.sh(181KB)
----READMEwin32.txt(1KB)
----COPYING(26KB)
----Makefile.netware(8KB)
----bootstrap(67B)
----aclocal.m4(250KB)
----test()
--------country_test2.txt(503B)
--------benchmark.c(3KB)
--------country_test.txt(1KB)
--------test-geoip-region.c(3KB)
--------Makefile.in(13KB)
--------test-geoip-asnum.c(2KB)
--------test-geoip-netspeed.c(2KB)
--------test-geoip-isp.c(2KB)
--------test-geoip-city.c(2KB)
--------test-geoip.c(4KB)
--------region_test.txt(492B)
--------test-geoip-org.c(2KB)
--------country_test_name.txt(13B)
--------Makefile.am(2KB)
----Makefile.win32(6KB)
----conf()
--------GeoIP.conf.default(588B)
--------Makefile.in(6KB)
--------Makefile.am(473B)
----GeoIPWinDLL.patch(6KB)
----libGeoIP()
--------GeoIPUpdate.h(3KB)
--------GeoIP.h(8KB)
--------md5.h(1KB)
--------md5.c(9KB)
--------GeoIP_internal.h(637B)
--------regionName.c(237KB)
--------Makefile.in(10KB)
--------GeoIP.c(51KB)
--------GeoIPCity.h(2KB)
--------global.h(783B)
--------timeZone.c(24KB)
--------types.h(4KB)
--------Makefile.am(544B)
--------GeoIPUpdate.c(25KB)
--------GeoIPCity.c(8KB)
----INSTALL(8KB)
----geoip.ico(3KB)
----mkinstalldirs(722B)
----get_ver.awk(410B)
----GeoIP.spec(2KB)
----configure(672KB)
----ChangeLog(23KB)
----install-sh(5KB)
----apps()
--------geoipupdate-pureperl.pl(7KB)
--------geoiplookup6.c(6KB)
--------geoiplookup.c(6KB)
--------Makefile.in(10KB)
--------geoipupdate.c(9KB)
--------Makefile.am(914B)
----Makefile.in(10KB)
----TODO(2KB)
----configure.in(2KB)
----AUTHORS(35B)
----config.guess(42KB)
----README(6KB)
----config.sub(31KB)
----NEWS(0B)
----data()
--------GeoIP.dat(1.09MB)
--------Makefile.in(6KB)
--------README(85B)
--------Makefile.am(406B)
----Makefile.am(252B)