Changeset cc574511 in mainline for uspace/lib/c/include


Ignore:
Timestamp:
2011-08-16T12:37:58Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
16dc887
Parents:
86ffa27f
Message:

Basic category support in location service. Devman adds device services
to categories. Switch over input server device discovery from using
/dev/class to loc categories.

Location:
uspace/lib/c/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ipc/loc.h

    r86ffa27f rcc574511  
    4040
    4141typedef sysarg_t service_id_t;
     42typedef sysarg_t category_id_t;
    4243
    4344typedef enum {
     
    5051        LOC_SERVER_REGISTER = IPC_FIRST_USER_METHOD,
    5152        LOC_SERVER_UNREGISTER,
     53        LOC_SERVICE_ADD_TO_CAT,
    5254        LOC_SERVICE_REGISTER,
    5355        LOC_SERVICE_UNREGISTER,
    5456        LOC_SERVICE_GET_ID,
    5557        LOC_NAMESPACE_GET_ID,
     58        LOC_CATEGORY_GET_ID,
     59        LOC_CATEGORY_GET_SVCS,
    5660        LOC_ID_PROBE,
    5761        LOC_NULL_CREATE,
  • uspace/lib/c/include/loc.h

    r86ffa27f rcc574511  
    4848extern int loc_service_register_with_iface(const char *, service_id_t *,
    4949    sysarg_t);
     50extern int loc_service_add_to_cat(service_id_t, category_id_t);
    5051
    5152extern int loc_service_get_id(const char *, service_id_t *,
     
    5354extern int loc_namespace_get_id(const char *, service_id_t *,
    5455    unsigned int);
     56extern int loc_category_get_id(const char *, category_id_t *,
     57    unsigned int);
     58extern int loc_category_get_svcs(category_id_t, category_id_t **, size_t *);
    5559extern loc_object_type_t loc_id_probe(service_id_t);
    5660
Note: See TracChangeset for help on using the changeset viewer.