Ignore:
File:
1 edited

Legend:

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

    r3e6a98c5 r80a96d2  
    3636
    3737#include <assert.h>
    38 #include <stdbool.h>
     38#include <bool.h>
    3939#include <dirent.h>
    4040#include <str.h>
     
    5252
    5353#define MATCH_EXT ".ma"
     54#define DEVICE_BUCKETS 256
    5455
    5556#define LOC_DEVICE_NAMESPACE "devices"
     
    150151         * Used by the hash table of devices indexed by devman device handles.
    151152         */
    152         ht_link_t devman_dev;
     153        link_t devman_dev;
    153154       
    154155        /**
     
    173174        /** State */
    174175        fun_state_t state;
    175         /** Locked while performing reconfiguration operations */
    176         fibril_mutex_t busy_lock;
    177176       
    178177        /** The global unique identifier of the function */
     
    203202         * Used by the hash table of functions indexed by devman device handles.
    204203         */
    205         ht_link_t devman_fun;
     204        link_t devman_fun;
    206205       
    207206        /**
    208207         * Used by the hash table of functions indexed by service IDs.
    209208         */
    210         ht_link_t loc_fun;
     209        link_t loc_fun;
    211210};
     211
    212212
    213213/** Represents device tree. */
     
    280280extern void dev_add_ref(dev_node_t *);
    281281extern void dev_del_ref(dev_node_t *);
    282 
    283282extern dev_node_t *find_dev_node_no_lock(dev_tree_t *tree,
    284283    devman_handle_t handle);
     
    292291extern void fun_add_ref(fun_node_t *);
    293292extern void fun_del_ref(fun_node_t *);
    294 extern void fun_busy_lock(fun_node_t *);
    295 extern void fun_busy_unlock(fun_node_t *);
    296293extern fun_node_t *find_fun_node_no_lock(dev_tree_t *tree,
    297294    devman_handle_t handle);
Note: See TracChangeset for help on using the changeset viewer.