Top | ![]() |
![]() |
![]() |
![]() |
FuFirmware * | fu_srec_firmware_new () |
GPtrArray * | fu_srec_firmware_get_records () |
FuSrecFirmwareRecord * | fu_srec_firmware_record_new () |
FuFirmware *
fu_srec_firmware_new (void
);
Creates a new FuFirmware of type SREC
Since: 1.3.2
GPtrArray *
fu_srec_firmware_get_records (FuSrecFirmware *self
);
Returns the raw records from SREC tokenization.
This might be useful if the plugin is expecting the SREC file to be a list of operations, rather than a simple linear image with filled holes.
Since: 1.3.2
FuSrecFirmwareRecord * fu_srec_firmware_record_new (guint ln
,FuFirmareSrecRecordKind kind
,guint32 addr
);
The kind of SREC record kind.
typedef struct { guint ln; FuFirmareSrecRecordKind kind; guint32 addr; GByteArray *buf; } FuSrecFirmwareRecord;
A single SREC record.