Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/devman.h

    re72fb34 r1a5b252  
    3838
    3939#include <ipc/devman.h>
     40#include <ipc/loc.h>
    4041#include <async.h>
    4142#include <bool.h>
    4243
    43 extern int devman_get_phone(devman_interface_t, unsigned int);
    44 extern void devman_hangup_phone(devman_interface_t);
     44extern async_exch_t *devman_exchange_begin_blocking(devman_interface_t);
     45extern async_exch_t *devman_exchange_begin(devman_interface_t);
     46extern void devman_exchange_end(async_exch_t *);
    4547
    4648extern int devman_driver_register(const char *, async_client_conn_t);
    4749extern int devman_add_function(const char *, fun_type_t, match_id_list_t *,
    4850    devman_handle_t, devman_handle_t *);
     51extern int devman_remove_function(devman_handle_t);
     52extern int devman_drv_fun_online(devman_handle_t);
     53extern int devman_drv_fun_offline(devman_handle_t);
    4954
    50 extern int devman_device_connect(devman_handle_t, unsigned int);
    51 extern int devman_parent_device_connect(devman_handle_t, unsigned int);
     55extern async_sess_t *devman_device_connect(exch_mgmt_t, devman_handle_t,
     56    unsigned int);
     57extern async_sess_t *devman_parent_device_connect(exch_mgmt_t, devman_handle_t,
     58    unsigned int);
    5259
    53 extern int devman_device_get_handle(const char *, devman_handle_t *,
     60extern int devman_fun_get_handle(const char *, devman_handle_t *,
    5461    unsigned int);
    55 extern int devman_device_get_handle_by_class(const char *, const char *,
    56     devman_handle_t *, unsigned int);
     62extern int devman_fun_get_child(devman_handle_t, devman_handle_t *);
     63extern int devman_dev_get_functions(devman_handle_t, devman_handle_t **,
     64    size_t *);
     65extern int devman_fun_get_name(devman_handle_t, char *, size_t);
     66extern int devman_fun_get_path(devman_handle_t, char *, size_t);
     67extern int devman_fun_online(devman_handle_t);
     68extern int devman_fun_offline(devman_handle_t);
    5769
    58 extern int devman_add_device_to_class(devman_handle_t, const char *);
     70extern int devman_add_device_to_category(devman_handle_t, const char *);
     71extern int devman_fun_sid_to_handle(service_id_t, devman_handle_t *);
    5972
    6073#endif
Note: See TracChangeset for help on using the changeset viewer.