aboutsummaryrefslogtreecommitdiffstats
path: root/epan/geoip_db.h
AgeCommit message (Collapse)AuthorFilesLines
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey1-6/+7
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
2012-12-26geoip_db_get_paths() is exported from libwireshark, so it has to existGuy Harris1-4/+0
regardless of whether we have GeoIP or not. However, regardless of whether it's exported from GeoIP or not, it should return a g_mallocated string. svn path=/trunk/; revision=46798
2012-12-26Don't define geoip_db_get_paths() unless we have GeoIP - we don't use itGuy Harris1-0/+4
unless it's defined. svn path=/trunk/; revision=46791
2012-07-08From Evan Huus:Guy Harris1-1/+0
Don't initialize GeoIP from epan_init(), as we probably haven't loaded the preferences for it yet (thanks to it's new use of the UAT framework). Instead, register a post_update callback with UAT and load it there. As a bonus, this also means that applying GeoIP preferences no longer requires restarting Wireshark - everything should Just Work with the new databases right away. Fixes bug 7446. svn path=/trunk/; revision=43604
2012-07-06From Michael Mann:Anders Broman1-0/+2
Generic preferences implementation - Printing and Name Resolution. svn path=/trunk/; revision=43579
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-28Constify the "string to return if not found" argument toGuy Harris1-2/+2
geoip_db_lookup_ipv4() and geoip_db_lookup_ipv6(). In both of those routines, "ret" is always set to a non-null value - it's initially set to the aforementioned string - so always return it. svn path=/trunk/; revision=43526
2011-10-05Add GeoIP IPv6 database support. Tested with GeoIP 1.4.7, but olderGerald Combs1-2/+13
versions *should* be supported. svn path=/trunk/; revision=39280
2009-02-04add display of GeoIP latitude/longitudeUlf Lamping1-0/+7
This is a crude hack, as the current Wireshark interface to GeoIP is not really suitable for reading several values of a single GeoIP database :-( svn path=/trunk/; revision=27365
2008-12-23Add GeoIP to the Windows build. Fix a remaining geoip_ -> geoip_db_Gerald Combs1-4/+4
conversion. svn path=/trunk/; revision=27098
2008-12-19Rename geoip.[ch] to geoip_db.[ch] so we don't collide with GeoIP.h. RenameGerald Combs1-0/+75
some functions to match. Add GeoIP lookups to the IP dissector. Add a preference for GeoIP lookups, which is disabled by default. svn path=/trunk/; revision=27063