From 4d9a2fba4987cd27b07db426fea921efcf8c9fc3 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Thu, 10 Mar 2016 16:18:19 +0100 Subject: 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. --- dbfp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dbfp.h') 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); -- cgit v1.2.1