aboutsummaryrefslogtreecommitdiff
path: root/dbfp.h
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2016-03-10 16:18:19 +0100
committerRobin Krahl <me@robin-krahl.de>2016-03-10 16:18:19 +0100
commit4d9a2fba4987cd27b07db426fea921efcf8c9fc3 (patch)
treed7e0580ff8db63221a537c6d9e4c9834b3755b4c /dbfp.h
parent913fc9d2c2935e0faf34657747286ce83af21853 (diff)
downloaddbfp-4d9a2fba4987cd27b07db426fea921efcf8c9fc3.tar.gz
dbfp-4d9a2fba4987cd27b07db426fea921efcf8c9fc3.tar.bz2
dbfp: add lon and lat to dbfp_location and to the query
The location.name query (dbfp_query_location_name) also returns the coordinates of the location. This commit adds them to the dbfp_location structure and to the query itself.
Diffstat (limited to 'dbfp.h')
-rw-r--r--dbfp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbfp.h b/dbfp.h
index ca92ed1..b2537ad 100644
--- a/dbfp.h
+++ b/dbfp.h
@@ -24,6 +24,8 @@ struct dbfp {
struct dbfp_location {
char *name;
char *id;
+ float lon;
+ float lat;
};
int dbfp_init(struct dbfp *dbfp, char *key);