Location manipulation functions. More...
Enumerations | |
enum | loc_method_t { LOCMETHOD_GEOCODE_HOSTIP, LOCMETHOD_ADDRESS_LOOKUP, LOCMETHOD_MANUAL } |
Method to look up lat/lon. More... | |
Functions | |
int | location_geocode_hostip (float *lat, float *lon, char *city, int bsize) |
Geocode from www.hostip.info. | |
int | location_address_lookup (char *address, float *lat, float *lon, char *city, int bsize) |
Look up location from address (from Google maps api). | |
int | location_init (void) |
Initialize location lookup. | |
int | location_end (void) |
Shut down location lookup. |
Location manipulation functions.
enum loc_method_t |