Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/devman.h

    rd0dd7b5 r422722e  
    6363typedef struct fun_node fun_node_t;
    6464
     65typedef struct {
     66        fibril_mutex_t mutex;
     67        struct driver *driver;
     68} client_t;
     69
    6570typedef enum {
    6671        /** Driver has not been started. */
     
    235240extern void add_driver(driver_list_t *, driver_t *);
    236241extern void attach_driver(dev_node_t *, driver_t *);
    237 extern void add_device(async_sess_t *, driver_t *, dev_node_t *, dev_tree_t *);
     242extern void add_device(driver_t *, dev_node_t *, dev_tree_t *);
    238243extern bool start_driver(driver_t *);
    239244
     
    253258extern dev_node_t *find_dev_node(dev_tree_t *tree, devman_handle_t handle);
    254259extern dev_node_t *find_dev_function(dev_node_t *, const char *);
     260extern int dev_get_functions(dev_tree_t *tree, dev_node_t *, devman_handle_t *,
     261    size_t, size_t *);
    255262
    256263extern fun_node_t *create_fun_node(void);
Note: See TracChangeset for help on using the changeset viewer.