aboutsummaryrefslogtreecommitdiffstats
path: root/libcontacts.h
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 14:10:32 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 14:10:32 +0100
commit2e0c40d09f13aafd43d3b696c74ee892d5d733a5 (patch)
tree200668dae2a44b9617f37b43242cfa26c937982c /libcontacts.h
parentUpdate e-mail (diff)
downloadlibcontacts-2e0c40d09f13aafd43d3b696c74ee892d5d733a5.tar.gz
libcontacts-2e0c40d09f13aafd43d3b696c74ee892d5d733a5.tar.bz2
libcontacts-2e0c40d09f13aafd43d3b696c74ee892d5d733a5.tar.xz
m fixes
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--libcontacts.h18
-rw-r--r--libcontacts.h.04
2 files changed, 11 insertions, 11 deletions
diff --git a/libcontacts.h b/libcontacts.h
index f0aa70b..cdd8774 100644
--- a/libcontacts.h
+++ b/libcontacts.h
@@ -1,4 +1,4 @@
-/* See LICENSE file for copyright and license details. */
+/* See LICENSE file for copyright and licence details. */
#ifndef LIBCONTACTS_H
#define LIBCONTACTS_H
@@ -46,13 +46,13 @@ struct libcontacts_address {
* Birthday of contact
*/
struct libcontacts_birthday {
- unsigned int year; /* asis, 0 for unknown */
- unsigned char month; /* january = 1, 0 for unknown */
- unsigned char day; /* asis, 0 for unknown */
+ unsigned year; /* As is, 0 for unknown */
+ unsigned char month; /* January = 1, 0 for unknown */
+ unsigned char day; /* As is, 0 for unknown */
/**
* This is applicable only if the birthday
- * is on a leap day. One non-leap years, a
+ * is on a leap day. On non-leap years, a
* birthday that occurs on a leap day is
* observed the day after the leap day had
* it existed; but if this flag is set, the
@@ -83,7 +83,7 @@ struct libcontacts_birthday {
struct libcontacts_block {
/**
* The service the block is applied to,
- * must be begin with a dot, except if
+ * must begin with a dot, except if
* it is:
* - ".call" Telephone calls
* - ".sms" SMS, MMS, and similar
@@ -131,8 +131,8 @@ struct libcontacts_number {
* Organisation information for contact
*/
struct libcontacts_organisation {
- char *organisation; /* Orginisation the contact belongs to */
- char *title; /* The contact's title/role in the orginisation */
+ char *organisation; /* Organisation the contact belongs to */
+ char *title; /* The contact's title/role in the organisation */
char **unrecognised_data; /* Data not recognised by the library */
};
@@ -274,7 +274,7 @@ struct libcontacts_contact {
/**
* Whether the contact shall be listed as an ICE
* (In Case of Emergency) contact that can be
- * view without unlocking the phone
+ * viewed without unlocking the phone
*/
int in_case_of_emergency;
diff --git a/libcontacts.h.0 b/libcontacts.h.0
index 67f63f1..650243c 100644
--- a/libcontacts.h.0
+++ b/libcontacts.h.0
@@ -131,7 +131,7 @@ When the contact celebrates his birthday.
.BI "int " in_case_of_emergency
Whether the contact shall be listed as an
In Case of Emergency (ICE) contact that can be
-view without unlocking the phone.
+viewed without unlocking the phone.
.TP
.BI "enum libcontacts_gender " gender
The gender of the contact. This lets applications select
@@ -507,7 +507,7 @@ Deallocate memory for a contact telephone number entry.
.BR libcontacts_organisation_destroy (3)
Deallocate memory for a contact organisation membership entry.
.TP
-.BR libcontacts_pgp_destroy (3)
+.BR libcontacts_pgpkey_destroy (3)
Deallocate memory for a contact PGP-key fingerprint entry.
.TP
.BR libcontacts_site_destroy (3)