Changeset 1dcba91 in mainline for uspace/app/contacts/contacts.c
- Timestamp:
- 2018-08-08T10:08:53Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 44428bb
- Parents:
- 7ab7075f
- git-author:
- Jiri Svoboda <jiri@…> (2018-08-07 17:07:59)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-08-08 10:08:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/contacts/contacts.c
r7ab7075f r1dcba91 78 78 } contact_action_t; 79 79 80 static errno_t contacts_ unmarshal(sif_node_t *, contacts_t *);80 static errno_t contacts_load(sif_node_t *, contacts_t *); 81 81 static contacts_entry_t *contacts_first(contacts_t *); 82 82 static contacts_entry_t *contacts_next(contacts_entry_t *); … … 150 150 } 151 151 152 rc = contacts_unmarshal(node, contacts); 153 if (rc != EOK) 154 goto error; 155 156 contacts->nentries = node; 152 rc = contacts_load(node, contacts); 153 if (rc != EOK) 154 goto error; 157 155 } 158 156 … … 171 169 } 172 170 173 /** Unmarshalcontact entries from SIF repository.171 /** Load contact entries from SIF repository. 174 172 * 175 173 * @param nentries Entries node 176 * @param contacts Contacts object to unmarshalto174 * @param contacts Contacts object to load to 177 175 * @return EOK on success or error code 178 176 */ 179 static errno_t contacts_ unmarshal(sif_node_t *nentries, contacts_t *contacts)177 static errno_t contacts_load(sif_node_t *nentries, contacts_t *contacts) 180 178 { 181 179 sif_node_t *nentry;
Note:
See TracChangeset
for help on using the changeset viewer.