Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset a3fcfba in mainline for uspace/lib/c/generic/loc.c


Ignore:
Timestamp:
2012-06-13T22:03:59Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
75b9c3d
Parents:
3f57fb7
Message:

In loc print server name instead of handle.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/loc.c

    r3f57fb7 ra3fcfba  
    450450}
    451451
     452/** Get service server name.
     453 *
     454 * Provided ID of a service, return the name of its server.
     455 *
     456 * @param svc_id        Service ID
     457 * @param name          Place to store pointer to new string. Caller should
     458 *                      free it using free().
     459 * @return              EOK on success or negative error code
     460 */
     461int loc_service_get_server_name(service_id_t svc_id, char **name)
     462{
     463        return loc_get_name_internal(LOC_SERVICE_GET_SERVER_NAME, svc_id, name);
     464}
     465
    452466int loc_namespace_get_id(const char *name, service_id_t *handle,
    453467    unsigned int flags)
Note: See TracChangeset for help on using the changeset viewer.