libsquashfs: sqfs_dir_header_t Struct Reference

libsquashfs 1.3.2 A new set of tools and libraries for working with SquashFS images

Loading...
Searching...
No Matches
sqfs_dir_header_t Struct Reference

On-disk data structure of a directory header. More...

`#include <dir.h>`

Collaboration diagram for sqfs_dir_header_t:

## Data Fields
sqfs_u32 | count
| The number of sqfs_dir_entry_t entries that are following.
sqfs_u32 | start_block
| The location of the meta data block containing the inodes for the entries that follow, relative to the start of the inode table.
sqfs_u32 | inode_number
| The inode number of the first entry.

## Detailed Description

On-disk data structure of a directory header.

See sqfs_dir_writer_t for an overview on how SquashFS stores directories on disk.

Definition at line 42 of file dir.h.

## Field Documentation

## ◆ count

sqfs_u32 count

The number of sqfs_dir_entry_t entries that are following.

This value is stored off by one and the total count must not exceed 256.

Definition at line 50 of file dir.h.

## ◆ inode_number

sqfs_u32 inode_number

The inode number of the first entry.

Definition at line 62 of file dir.h.

## ◆ start_block

sqfs_u32 start_block

The location of the meta data block containing the inodes for the entries that follow, relative to the start of the inode table.

Definition at line 57 of file dir.h.

The documentation for this struct was generated from the following file:

- include/sqfs/dir.h