diff options
Diffstat (limited to 'lib/sqfs')
-rw-r--r-- | lib/sqfs/block_processor/internal.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/sqfs/block_processor/internal.h b/lib/sqfs/block_processor/internal.h index 847b2c6..b3d76ba 100644 --- a/lib/sqfs/block_processor/internal.h +++ b/lib/sqfs/block_processor/internal.h @@ -34,6 +34,21 @@ typedef struct compress_worker_t compress_worker_t; +typedef struct sqfs_block_t { + struct sqfs_block_t *next; + sqfs_inode_generic_t *inode; + + sqfs_u32 sequence_number; + sqfs_u32 flags; + sqfs_u32 size; + sqfs_u32 checksum; + + /* Data block index within the inode or fragment block index. */ + sqfs_u32 index; + + sqfs_u8 data[]; +} sqfs_block_t; + struct sqfs_block_processor_t { /* synchronization primitives */ #ifdef WITH_PTHREAD |