Ignore:
File:
1 edited

Legend:

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

    r1a5b252 re72fb34  
    3838
    3939#include <ipc/devman.h>
    40 #include <ipc/loc.h>
    4140#include <async.h>
    4241#include <bool.h>
    4342
    44 extern async_exch_t *devman_exchange_begin_blocking(devman_interface_t);
    45 extern async_exch_t *devman_exchange_begin(devman_interface_t);
    46 extern void devman_exchange_end(async_exch_t *);
     43extern int devman_get_phone(devman_interface_t, unsigned int);
     44extern void devman_hangup_phone(devman_interface_t);
    4745
    4846extern int devman_driver_register(const char *, async_client_conn_t);
    4947extern int devman_add_function(const char *, fun_type_t, match_id_list_t *,
    5048    devman_handle_t, devman_handle_t *);
    51 extern int devman_remove_function(devman_handle_t);
    52 extern int devman_drv_fun_online(devman_handle_t);
    53 extern int devman_drv_fun_offline(devman_handle_t);
    5449
    55 extern async_sess_t *devman_device_connect(exch_mgmt_t, devman_handle_t,
     50extern int devman_device_connect(devman_handle_t, unsigned int);
     51extern int devman_parent_device_connect(devman_handle_t, unsigned int);
     52
     53extern int devman_device_get_handle(const char *, devman_handle_t *,
    5654    unsigned int);
    57 extern async_sess_t *devman_parent_device_connect(exch_mgmt_t, devman_handle_t,
    58     unsigned int);
     55extern int devman_device_get_handle_by_class(const char *, const char *,
     56    devman_handle_t *, unsigned int);
    5957
    60 extern int devman_fun_get_handle(const char *, devman_handle_t *,
    61     unsigned int);
    62 extern int devman_fun_get_child(devman_handle_t, devman_handle_t *);
    63 extern int devman_dev_get_functions(devman_handle_t, devman_handle_t **,
    64     size_t *);
    65 extern int devman_fun_get_name(devman_handle_t, char *, size_t);
    66 extern int devman_fun_get_path(devman_handle_t, char *, size_t);
    67 extern int devman_fun_online(devman_handle_t);
    68 extern int devman_fun_offline(devman_handle_t);
    69 
    70 extern int devman_add_device_to_category(devman_handle_t, const char *);
    71 extern int devman_fun_sid_to_handle(service_id_t, devman_handle_t *);
     58extern int devman_add_device_to_class(devman_handle_t, const char *);
    7259
    7360#endif
Note: See TracChangeset for help on using the changeset viewer.