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#
enterTag#
int32_t(* GblCustomTag_t::enterTag) (ParserContext_t *ctx)
Function to call upon entering the tag.
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.
exitTag#
int32_t(* GblCustomTag_t::exitTag) (ParserContext_t *ctx, const BootloaderParserCallbacks_t *callbacks)
Function to call upon exiting the tag.
numBytesRequired#
size_t(* GblCustomTag_t::numBytesRequired) (ParserContext_t *ctx)
Function returning how many bytes should be collected before calling parseTag the next time.