aboutsummaryrefslogtreecommitdiffstats
path: root/libcontacts.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-03 23:51:29 +0200
committerMattias Andrée <maandree@kth.se>2021-04-03 23:51:29 +0200
commit510448fe2bde7592df8d1d83bfec9397eed1696c (patch)
tree81769e15b7b2a1a29dde56e60a3b05b9e1888d7f /libcontacts.h
parentAdd pure attributes (diff)
downloadlibcontacts-510448fe2bde7592df8d1d83bfec9397eed1696c.tar.gz
libcontacts-510448fe2bde7592df8d1d83bfec9397eed1696c.tar.bz2
libcontacts-510448fe2bde7592df8d1d83bfec9397eed1696c.tar.xz
Add libcontacts_same_number
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libcontacts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcontacts.h b/libcontacts.h
index 77d07fe..4a2d782 100644
--- a/libcontacts.h
+++ b/libcontacts.h
@@ -295,6 +295,7 @@ int libcontacts_list_contacts(char ***, const struct passwd *);
int libcontacts_load_contact(const char *, struct libcontacts_contact *, const struct passwd *); /* errno = 0 if malformatted */
int libcontacts_load_contacts(struct libcontacts_contact ***, const struct passwd *);
int libcontacts_save_contact(struct libcontacts_contact *, const struct passwd *);
+int libcontacts_same_number(const char *, const char *, const char *, const char *);
char *libcontacts_get_path(const char *, const struct passwd *);
int libcontacts_parse_contact(char *, struct libcontacts_contact *); /* does not load .id, not stored in file, but is the filename */