Changeset 0b5a4131 in mainline for uspace/srv/devman/devman.h


Ignore:
Timestamp:
2010-11-18T18:10:11Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c63e70c
Parents:
991f645
Message:

Rename device_handle_t to devman_handle_t and make it explicitly clear that
device_handle_t is a handle understood by devman.

File:
1 edited

Legend:

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

    r991f645 r0b5a4131  
    121121struct node {
    122122        /** The global unique identifier of the device. */
    123         device_handle_t handle;
     123        devman_handle_t handle;
    124124        /** The name of the device specified by its parent. */
    125125        char *name;
     
    179179         * manner.
    180180         */
    181         device_handle_t current_handle;
     181        devman_handle_t current_handle;
    182182       
    183183        /** Synchronize access to the device tree. */
     
    309309extern void delete_dev_node(node_t *node);
    310310extern node_t *find_dev_node_no_lock(dev_tree_t *tree,
    311     device_handle_t handle);
    312 extern node_t *find_dev_node(dev_tree_t *tree, device_handle_t handle);
     311    devman_handle_t handle);
     312extern node_t *find_dev_node(dev_tree_t *tree, devman_handle_t handle);
    313313extern node_t *find_dev_node_by_path(dev_tree_t *, char *);
    314314extern node_t *find_node_child(node_t *, const char *);
Note: See TracChangeset for help on using the changeset viewer.