cpiDeleteContext

Purpose

Deletes the context owned by the parser object. It is invoked by the message broker when an instance of a parser object is destroyed.

The responsibilities of the parser are to:
  1. Release any parser instance specific data areas (such as context) that were acquired at construction or during parser processing.
  2. Release any additional resources that might have been acquired for the processing of the parser.
Defined In Type Member
CPI_VFT Optional iFpDeleteContext

Syntax

void cpiDeleteContext(
  CciParser*   parser,
  CciContext*  context);

Parameters

parser
The address of the parser object (input).
context
The address of the context owned by the parser object (input).

Return values

None.

Related concepts
User-defined parsers
User-defined extensions
Related tasks
Creating a parser in C
Related reference
C parser implementation functions