Custom tag descriptor.

Public Attributes#

uint32_t

GBL Tag ID of the custom tag.

int32_t(*

Function to call upon entering the tag.

int32_t(*

Function to call while parsing the tag.

int32_t(*

Function to call upon exiting the tag.

size_t(*

Function returning how many bytes should be collected before calling parseTag the next time.

Public Attribute Documentation#

tagId#

uint32_t GblCustomTag_t::tagId

GBL Tag ID of the custom tag.


Definition at line 46 of file platform/bootloader/parser/gbl/btl_gbl_custom_tags.h

enterTag#

int32_t(* GblCustomTag_t::enterTag) (ParserContext_t *ctx)

Function to call upon entering the tag.


Definition at line 48 of file platform/bootloader/parser/gbl/btl_gbl_custom_tags.h

parseTag#

int32_t(* GblCustomTag_t::parseTag) (ParserContext_t *ctx, void *data, size_t length, const BootloaderParserCallbacks_t *callbacks)

Function to call while parsing the tag.


Definition at line 50 of file platform/bootloader/parser/gbl/btl_gbl_custom_tags.h

exitTag#

int32_t(* GblCustomTag_t::exitTag) (ParserContext_t *ctx, const BootloaderParserCallbacks_t *callbacks)

Function to call upon exiting the tag.


Definition at line 55 of file platform/bootloader/parser/gbl/btl_gbl_custom_tags.h

numBytesRequired#

size_t(* GblCustomTag_t::numBytesRequired) (ParserContext_t *ctx)

Function returning how many bytes should be collected before calling parseTag the next time.


Definition at line 59 of file platform/bootloader/parser/gbl/btl_gbl_custom_tags.h