#include "ruby.h" #include "version.h" #include "GeoIP.h" #include "GeoIPCity.h" static char *file_location; static const char *_value_or_unknown(const char *p); static VALUE rb_mGeolocation; static VALUE rb_cCity; static VALUE rb_city_initialize(VALUE rb_module, VALUE location); static VALUE rb_city_from_ip(VALUE rb_module, VALUE host); static VALUE rb_city_set_file_location(VALUE rb_module, VALUE location); static VALUE rb_city_get_file_location(VALUE rb_module); static VALUE rb_city_to_s(VALUE rb_module);