libaaruformat 1.0
Aaru Data Preservation Suite - Format Library
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 DumpExtentextents
 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 313 of file context.h.

Field Documentation

◆ entry

DumpHardwareEntry DumpHardwareEntriesWithData::entry

Fixed-size header with lengths & counts.

Definition at line 315 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 316 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 320 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 317 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 318 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 319 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 321 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 322 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 324 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 323 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: