aboutsummaryrefslogtreecommitdiffstats
path: root/libcontacts.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-04 16:12:15 +0200
committerMattias Andrée <maandree@kth.se>2021-04-04 16:12:15 +0200
commit3bcdd28a6a42d810523d30b30e9ccf880e2b0ca1 (patch)
treef68e09d120e76df41c08b4e20481024e742b0c0d /libcontacts.h
parentm (diff)
downloadlibcontacts-3bcdd28a6a42d810523d30b30e9ccf880e2b0ca1.tar.gz
libcontacts-3bcdd28a6a42d810523d30b30e9ccf880e2b0ca1.tar.bz2
libcontacts-3bcdd28a6a42d810523d30b30e9ccf880e2b0ca1.tar.xz
Reorder libcontacts_address and fix coord parsing
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libcontacts.h')
-rw-r--r--libcontacts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcontacts.h b/libcontacts.h
index 4a2d782..6eb4054 100644
--- a/libcontacts.h
+++ b/libcontacts.h
@@ -89,11 +89,11 @@ struct libcontacts_number {
*/
struct libcontacts_address {
char *context; /* Work address (which job)? Home? Summer cabin? … */
- char *country; /* Which country? */
char *care_of; /* Care of address, if any */
char *address; /* Address, all lines in one */
char *postcode; /* Post code */
char *city; /* Which city is the post code tied to? */
+ char *country; /* Which country? */
int have_coordinates; /* Are `.latitude` and `.longitude` defined? */
double latitude; /* Latitudal GPS coordinate */
double longitude; /* Longitudal GPS coordinate */