Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
cpatch_header Struct Reference

CPatch file header. More...

#include <patch.h>

Data Fields

uint32_t magic_value
 Expected to match CPATCH_MAGIC_NUMBER.
uint8_t version_major
 Major version number of CPatch algorithm this file was generated for.
uint8_t version_minor
 Minor version number of CPatch algorithm this file was generated for.
struct cpatch_array_validation input_file
 Input file validation.
struct cpatch_array_validation output_file
 Output file validation.
struct cpatch_array_validation patch_file
 Patch data validation.
uint32_t header_crc
 CRC32-IEEE of the preceding data in the header.

Detailed Description

CPatch file header.

Field Documentation

◆ header_crc

uint32_t cpatch_header::header_crc

CRC32-IEEE of the preceding data in the header.

◆ input_file

struct cpatch_array_validation cpatch_header::input_file

Input file validation.

◆ magic_value

uint32_t cpatch_header::magic_value

Expected to match CPATCH_MAGIC_NUMBER.

◆ output_file

struct cpatch_array_validation cpatch_header::output_file

Output file validation.

◆ patch_file

struct cpatch_array_validation cpatch_header::patch_file

Patch data validation.

◆ version_major

uint8_t cpatch_header::version_major

Major version number of CPatch algorithm this file was generated for.

◆ version_minor

uint8_t cpatch_header::version_minor

Minor version number of CPatch algorithm this file was generated for.


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