[geonames] Adding country_geonames_id to both geoname and postal code structs

This commit is contained in:
Al
2015-07-08 18:44:14 -04:00
parent 9af0b0ab65
commit 8c02073b54
2 changed files with 14 additions and 1 deletions

View File

@@ -48,6 +48,7 @@ typedef struct geoname {
double longitude;
char_array *feature_code;
char_array *country_code;
uint32_t country_geonames_id;
char_array *admin1_code;
uint32_t admin1_geonames_id;
char_array *admin2_code;
@@ -73,6 +74,7 @@ void geoname_destroy(geoname_t *self);
typedef struct gn_postal_code {
char_array *postal_code;
char_array *country_code;
uint32_t country_geonames_id;
bool have_lat_lon;
double latitude;
double longitude;
@@ -114,4 +116,4 @@ bool geonames_generic_deserialize(gn_type *type, geoname_t *geoname, gn_postal_c
}
#endif
#endif
#endif