Changeset 1dcba91 in mainline for uspace/app/contacts/contacts.c


Ignore:
Timestamp:
2018-08-08T10:08:53Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
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)
Message:

Configuration repository for volume server.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/contacts/contacts.c

    r7ab7075f r1dcba91  
    7878} contact_action_t;
    7979
    80 static errno_t contacts_unmarshal(sif_node_t *, contacts_t *);
     80static errno_t contacts_load(sif_node_t *, contacts_t *);
    8181static contacts_entry_t *contacts_first(contacts_t *);
    8282static contacts_entry_t *contacts_next(contacts_entry_t *);
     
    150150                }
    151151
    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;
    157155        }
    158156
     
    171169}
    172170
    173 /** Unmarshal contact entries from SIF repository.
     171/** Load contact entries from SIF repository.
    174172 *
    175173 * @param nentries Entries node
    176  * @param contacts Contacts object to unmarshal to
     174 * @param contacts Contacts object to load to
    177175 * @return EOK on success or error code
    178176 */
    179 static errno_t contacts_unmarshal(sif_node_t *nentries, contacts_t *contacts)
     177static errno_t contacts_load(sif_node_t *nentries, contacts_t *contacts)
    180178{
    181179        sif_node_t *nentry;
Note: See TracChangeset for help on using the changeset viewer.