Loading...
Searching...
No Matches
DumpHardwareEntriesWithData Struct Reference

In-memory representation of a dump hardware entry plus decoded variable-length fields & extents. More...

`#include <aaruformat/context.h>`

## Data Fields

DumpHardwareEntry | entry
| Fixed-size header with lengths & counts.
struct DumpExtent * | extents
| Array of extents (entry.extents elements) or NULL.
uint8_t * | manufacturer
| Manufacturer string (UTF-8) or NULL.
uint8_t * | model
| Model string or NULL.
uint8_t * | revision
| Hardware revision string or NULL.
uint8_t * | firmware
| Firmware version string or NULL.
uint8_t * | serial
| Serial number string or NULL.
uint8_t * | softwareName
| Dump software name or NULL.
uint8_t * | softwareVersion
| Dump software version or NULL.
uint8_t * | softwareOperatingSystem
| Host operating system string or NULL.

## Detailed Description

In-memory representation of a dump hardware entry plus decoded variable-length fields & extents.

All string pointers are NUL-terminated UTF-8 copies of on-disk data (or NULL if absent). extents array may be NULL when no ranges were recorded. Freed during context teardown.

Definition at line 349 of file context.h.

## Field Documentation

## entry

DumpHardwareEntry DumpHardwareEntriesWithData::entry

Fixed-size header with lengths & counts.

Definition at line 351 of file context.h.

Referenced by aaruf_get_dumphw(), aaruf_set_dumphw(), process_dumphw_block(), and write_dumphw_block().

## extents

struct DumpExtent* DumpHardwareEntriesWithData::extents

Array of extents (entry.extents elements) or NULL.

Definition at line 352 of file context.h.

Referenced by aaruf_close(), aaruf_get_dumphw(), aaruf_set_dumphw(), process_dumphw_block(), and write_dumphw_block().

## firmware

uint8_t* DumpHardwareEntriesWithData::firmware

Firmware version string or NULL.

Definition at line 356 of file context.h.

Referenced by aaruf_close(), aaruf_get_dumphw(), process_dumphw_block(), and write_dumphw_block().

## manufacturer

uint8_t* DumpHardwareEntriesWithData::manufacturer

Manufacturer string (UTF-8) or NULL.

Definition at line 353 of file context.h.

Referenced by aaruf_close(), aaruf_get_dumphw(), process_dumphw_block(), and write_dumphw_block().

## model

uint8_t* DumpHardwareEntriesWithData::model

Model string or NULL.

Definition at line 354 of file context.h.

Referenced by aaruf_close(), aaruf_get_dumphw(), process_dumphw_block(), and write_dumphw_block().

## revision

uint8_t* DumpHardwareEntriesWithData::revision

Hardware revision string or NULL.

Definition at line 355 of file context.h.

Referenced by aaruf_close(), aaruf_get_dumphw(), process_dumphw_block(), and write_dumphw_block().

## serial

uint8_t* DumpHardwareEntriesWithData::serial

Serial number string or NULL.

Definition at line 357 of file context.h.

Referenced by aaruf_close(), aaruf_get_dumphw(), process_dumphw_block(), and write_dumphw_block().

## softwareName

uint8_t* DumpHardwareEntriesWithData::softwareName

Dump software name or NULL.

Definition at line 358 of file context.h.

Referenced by aaruf_close(), aaruf_get_dumphw(), process_dumphw_block(), and write_dumphw_block().

## softwareOperatingSystem

uint8_t* DumpHardwareEntriesWithData::softwareOperatingSystem

Host operating system string or NULL.

Definition at line 360 of file context.h.

Referenced by aaruf_close(), aaruf_get_dumphw(), process_dumphw_block(), and write_dumphw_block().

## softwareVersion

uint8_t* DumpHardwareEntriesWithData::softwareVersion

Dump software version or NULL.

Definition at line 359 of file context.h.

Referenced by aaruf_close(), aaruf_get_dumphw(), process_dumphw_block(), and write_dumphw_block().

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

- include/aaruformat/context.h