Changeset 991f645 in mainline for uspace/lib/fs/libfs.h


Ignore:
Timestamp:
2010-11-18T17:39:28Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0b5a4131
Parents:
51a268f
Message:

Rename dev_handle_t to devmap_handle_t and make it explicitly clear that
dev_handle_t is a handle understood by devmap.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/fs/libfs.h

    r51a268f r991f645  
    4747        int phone;
    4848        fs_handle_t fs_handle;
    49         dev_handle_t dev_handle;
     49        devmap_handle_t devmap_handle;
    5050} mp_data_t;
    5151
     
    6161         * argument holds the output argument.
    6262         */
    63         int (* root_get)(fs_node_t **, dev_handle_t);
     63        int (* root_get)(fs_node_t **, devmap_handle_t);
    6464        int (* match)(fs_node_t **, fs_node_t *, const char *);
    65         int (* node_get)(fs_node_t **, dev_handle_t, fs_index_t);
     65        int (* node_get)(fs_node_t **, devmap_handle_t, fs_index_t);
    6666        int (* node_open)(fs_node_t *);
    6767        int (* node_put)(fs_node_t *);
    68         int (* create)(fs_node_t **, dev_handle_t, int);
     68        int (* create)(fs_node_t **, devmap_handle_t, int);
    6969        int (* destroy)(fs_node_t *);
    7070        int (* link)(fs_node_t *, fs_node_t *, const char *);
     
    8181        bool (* is_directory)(fs_node_t *);
    8282        bool (* is_file)(fs_node_t *);
    83         dev_handle_t (* device_get)(fs_node_t *);
     83        devmap_handle_t (* device_get)(fs_node_t *);
    8484} libfs_ops_t;
    8585
Note: See TracChangeset for help on using the changeset viewer.