fu-ihex-firmware

fu-ihex-firmware — Ihex firmware image

Functions

Types and Values

Description

An object that represents a Ihex firmware image.

See also: FuFirmware

Functions

fu_ihex_firmware_new ()

FuFirmware *
fu_ihex_firmware_new (void);

Creates a new FuFirmware of sub type Ihex

Since: 1.3.1


fu_ihex_firmware_get_records ()

GPtrArray *
fu_ihex_firmware_get_records (FuIhexFirmware *self);

Returns the raw lines from tokenization.

This might be useful if the plugin is expecting the hex file to be a list of operations, rather than a simple linear image with filled holes.

Parameters

self

A FuIhexFirmware

 

Returns

records.

[transfer none][element-type FuIhexFirmwareRecord]

Since: 1.3.4

Types and Values

FU_TYPE_IHEX_FIRMWARE

#define FU_TYPE_IHEX_FIRMWARE (fu_ihex_firmware_get_type ())

FuIhexFirmwareRecord

typedef struct {
	guint		 ln;
	GString		*buf;
} FuIhexFirmwareRecord;

FuIhexFirmware

typedef struct _FuIhexFirmware FuIhexFirmware;