Stores information about a file system block. More...
#include <tsk_fs.h>
Stores information about a file system block.
Must be created by either allocating an empty block and opening one or by passing in a TSK_FS_BLOCK struct. If NULL is passed to the constructor and open() is not called, the other methods return undefined data. See TSK_FS_BLOCK for more details.
construct a TskFsBlock using a TSK_FS_BLOCK structure
default constructor to construct a TskFsBlock.
Must call open() before using other methods.
Free the memory associated with the TSK_FS_BLOCK structure.
See tsk_fs_block_free() for details
References tsk_fs_block_free().
Get buffer with block data (of size TSK_FS_INFO::block_size)
References TSK_FS_BLOCK::buf.
Get flags for block (alloc or unalloc)
Open a block (use only if created with default constructor).
Copyright © 2007-2020 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.