Changeset 45f04f8 in mainline for uspace/srv/fs/fat/fat_fat.h


Ignore:
Timestamp:
2010-11-18T18:23:43Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3f0a7971, a7811f17, cb569e6
Parents:
51a268f (diff), c63e70c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge changes that aim to do a better job in differentiating between
dev_handle_t and device_handle_t, respectively, by renaming these types to
devmap_handle_t and devman_handle_t, respectively.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_fat.h

    r51a268f r45f04f8  
    6161#define fat_clusters_get(numc, bs, dh, fc) \
    6262    fat_cluster_walk((bs), (dh), (fc), NULL, (numc), (uint16_t) -1)
    63 extern int fat_cluster_walk(struct fat_bs *, dev_handle_t, fat_cluster_t,
     63extern int fat_cluster_walk(struct fat_bs *, devmap_handle_t, fat_cluster_t,
    6464    fat_cluster_t *, uint16_t *, uint16_t);
    6565
    6666extern int fat_block_get(block_t **, struct fat_bs *, struct fat_node *,
    6767    aoff64_t, int);
    68 extern int _fat_block_get(block_t **, struct fat_bs *, dev_handle_t,
     68extern int _fat_block_get(block_t **, struct fat_bs *, devmap_handle_t,
    6969    fat_cluster_t, fat_cluster_t *, aoff64_t, int);
    7070
     
    7373extern int fat_chop_clusters(struct fat_bs *, struct fat_node *,
    7474    fat_cluster_t);
    75 extern int fat_alloc_clusters(struct fat_bs *, dev_handle_t, unsigned,
     75extern int fat_alloc_clusters(struct fat_bs *, devmap_handle_t, unsigned,
    7676    fat_cluster_t *, fat_cluster_t *);
    77 extern int fat_free_clusters(struct fat_bs *, dev_handle_t, fat_cluster_t);
    78 extern int fat_alloc_shadow_clusters(struct fat_bs *, dev_handle_t,
     77extern int fat_free_clusters(struct fat_bs *, devmap_handle_t, fat_cluster_t);
     78extern int fat_alloc_shadow_clusters(struct fat_bs *, devmap_handle_t,
    7979    fat_cluster_t *, unsigned);
    80 extern int fat_get_cluster(struct fat_bs *, dev_handle_t, unsigned,
     80extern int fat_get_cluster(struct fat_bs *, devmap_handle_t, unsigned,
    8181    fat_cluster_t, fat_cluster_t *);
    82 extern int fat_set_cluster(struct fat_bs *, dev_handle_t, unsigned,
     82extern int fat_set_cluster(struct fat_bs *, devmap_handle_t, unsigned,
    8383    fat_cluster_t, fat_cluster_t);
    8484extern int fat_fill_gap(struct fat_bs *, struct fat_node *, fat_cluster_t,
    8585    aoff64_t);
    86 extern int fat_zero_cluster(struct fat_bs *, dev_handle_t, fat_cluster_t);
    87 extern int fat_sanity_check(struct fat_bs *, dev_handle_t);
     86extern int fat_zero_cluster(struct fat_bs *, devmap_handle_t, fat_cluster_t);
     87extern int fat_sanity_check(struct fat_bs *, devmap_handle_t);
    8888
    8989#endif
Note: See TracChangeset for help on using the changeset viewer.