Changeset 343ccfd in mainline for uspace/lib/ext4/libext4_extent.h


Ignore:
Timestamp:
2011-11-20T12:56:00Z (13 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ebeaaa06
Parents:
fe27eb4
Message:

next bunch of getters and setters added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/libext4_extent.h

    rfe27eb4 r343ccfd  
    7575
    7676extern uint32_t ext4_extent_get_first_block(ext4_extent_t *);
     77extern void ext4_extent_set_first_block(ext4_extent_t *, uint32_t);
    7778extern uint16_t ext4_extent_get_block_count(ext4_extent_t *);
     79extern void ext4_extent_set_block_count(ext4_extent_t *, uint16_t);
    7880extern uint64_t ext4_extent_get_start(ext4_extent_t *);
     81extern void ext4_extent_set_start(ext4_extent_t *, uint64_t);
    7982
    8083extern uint32_t ext4_extent_index_get_first_block(ext4_extent_index_t *);
     84extern void ext4_extent_index_set_first_block(ext4_extent_index_t *, uint32_t);
    8185extern uint64_t ext4_extent_index_get_leaf(ext4_extent_index_t *);
     86extern void ext4_extent_index_set_leaf(ext4_extent_index_t *, uint64_t);
    8287
    8388extern uint16_t ext4_extent_header_get_magic(ext4_extent_header_t *);
     89extern void ext4_extent_header_set_magic(ext4_extent_header_t *, uint16_t);
    8490extern uint16_t ext4_extent_header_get_entries_count(ext4_extent_header_t *);
     91extern void ext4_extent_header_set_entries_count(ext4_extent_header_t *,
     92                uint16_t);
    8593extern uint16_t ext4_extent_header_get_max_entries_count(ext4_extent_header_t *);
     94extern void ext4_extent_header_set_max_entries_count(ext4_extent_header_t *,
     95                uint16_t);
    8696extern uint16_t ext4_extent_header_get_depth(ext4_extent_header_t *);
     97extern void ext4_extent_header_set_depth(ext4_extent_header_t *, uint16_t);
    8798extern uint32_t ext4_extent_header_get_generation(ext4_extent_header_t *);
     99extern void ext4_extent_header_set_generation(ext4_extent_header_t *, uint32_t);
    88100
    89101#endif
Note: See TracChangeset for help on using the changeset viewer.