diff options
author | Mattias Andrée <maandree@kth.se> | 2021-04-08 17:58:54 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-04-08 18:15:49 +0200 |
commit | 508828c5861bf8487b995df537cbfa0b0b7a8ba4 (patch) | |
tree | 0ae6366528057f6fea28cb347d7c582850708a85 /libcontacts.h | |
parent | Add test for libcontacts_get_path (diff) | |
download | libcontacts-508828c5861bf8487b995df537cbfa0b0b7a8ba4.tar.gz libcontacts-508828c5861bf8487b995df537cbfa0b0b7a8ba4.tar.bz2 libcontacts-508828c5861bf8487b995df537cbfa0b0b7a8ba4.tar.xz |
Add with_me parameter to libcontacts_list_contacts and libcontacts_load_contacts
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libcontacts.h')
-rw-r--r-- | libcontacts.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcontacts.h b/libcontacts.h index 877840d..98bce5b 100644 --- a/libcontacts.h +++ b/libcontacts.h @@ -291,9 +291,9 @@ struct libcontacts_contact { void libcontacts_contact_destroy(struct libcontacts_contact *); -int libcontacts_list_contacts(char ***, const struct passwd *); +int libcontacts_list_contacts(char ***, const struct passwd *, int); 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_load_contacts(struct libcontacts_contact ***, const struct passwd *, int); int libcontacts_save_contact(struct libcontacts_contact *, const struct passwd *); int libcontacts_same_number(const char *, const char *, const char *, const char *); /* might be removed in the future */ |