하나의 오픈 소스 프로젝트에서 GeoIP.h 헤더 파일을 포함하고 그 기능을 호출하여 IP의 국가 코드를 알았습니다. 나는 어디 그것은 변수 파일 *의 GeoIPDatabase를 사용 http://www9.biostr.washington.edu/webalizer/src/stonesteps.ca/webalizer_src_3_4_4_1/GeoIP.hGeoIP.h에 대한 데이터베이스는 무엇입니까
에서 GeoIP.h의 소스 코드를 갔다 GeoIP.h
사용하는 데이터베이스가 궁금; 제발 제안 해주세요. 전체 데이터베이스가 필요합니다.
=== 편집 ===
내가 방문하는 소스 코드는이 부분입니다. 사용할 데이터베이스는 언급하지 않습니다! https://github.com/lampeh/libvmod-geoip/blob/master/src/vmod_geoip.c.
내가 방문하는 소스 코드는이 부분입니다. 사용할 데이터베이스는 언급하지 않습니다! https://github.com/lampeh/libvmod-geoip/blob/master/src/vmod_geoip.c. –
GeoIP_new()가 호출하는이 함수를 살펴보면 파일 이름의 추론 방법을 알 수 있습니다. http://d3.jpn.org/hl2/cf-doxy/html/GeoIP_8cpp-source.html#l00121 – Claudix
_full_path_to() 함수를 알 수 있습니다. 이 파일을 클릭하면 파일 경로가 어떻게 생성되는지 볼 수 있습니다. http://d3.jpn.org/hl2/cf-doxy/html/GeoIP_8cpp-source.html#l00092 – Claudix