libsquashfs: sqfs_dir_index_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_index_t Struct Reference

On-disk data structure of a directory index. A series of those can follow an sqfs_inode_dir_ext_t. More...

`#include <dir.h>`

Collaboration diagram for sqfs_dir_index_t:

## Data Fields
sqfs_u32 | index
| Linear byte offset into the decompressed directory listing.
sqfs_u32 | start_block
| Location of the meta data block, relative to the directory table start.
sqfs_u32 | size
| Size of the name of the first entry after the header.
sqfs_u8 | name []
| Name of the name of the first entry after the header.

## Detailed Description

On-disk data structure of a directory index. A series of those can follow an sqfs_inode_dir_ext_t.

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

Definition at line 115 of file dir.h.

## Field Documentation

## ◆ index

sqfs_u32 index

Linear byte offset into the decompressed directory listing.

Definition at line 119 of file dir.h.

## ◆ name

sqfs_u8 name[]

Name of the name of the first entry after the header.

No trailing null-byte.

Definition at line 139 of file dir.h.

## ◆ size

sqfs_u32 size

Size of the name of the first entry after the header.

This value is stored off-by-one.

Definition at line 132 of file dir.h.

## ◆ start_block

sqfs_u32 start_block

Location of the meta data block, relative to the directory table start.

Definition at line 125 of file dir.h.

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

- include/sqfs/dir.h