gwenhywfar  5.3.0
Functions
gwen_parser_check.c File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int GWEN_Parser__CheckElementAndChildren (const GWEN_PARSER_ELEMENT *eDefinitions, const GWEN_PARSER_ELEMENT *eData, int depth)
 
int GWEN_Parser__CheckSequence (const GWEN_PARSER_ELEMENT *eDefinitions, const GWEN_PARSER_ELEMENT *eData, int depth)
 
int GWEN_Parser_CheckTree (const GWEN_PARSER_ELEMENT_TREE *tDefinitions, const GWEN_PARSER_ELEMENT_TREE *tData)
 

Function Documentation

◆ GWEN_Parser__CheckElementAndChildren()

int GWEN_Parser__CheckElementAndChildren ( const GWEN_PARSER_ELEMENT *  eDefinitions,
const GWEN_PARSER_ELEMENT *  eData,
int  depth 
)

Definition at line 29 of file gwen_parser_check.c.

References DBG_DEBUG, GWEN_ERROR_BAD_DATA, GWEN_LOGDOMAIN, GWEN_Parser__CheckElement(), GWEN_Parser__CheckSequence(), GWEN_Parser__GetChoice(), and NULL.

Referenced by GWEN_Parser__CheckSequence().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GWEN_Parser__CheckSequence()

int GWEN_Parser__CheckSequence ( const GWEN_PARSER_ELEMENT *  eDefinitions,
const GWEN_PARSER_ELEMENT *  eData,
int  depth 
)

Definition at line 71 of file gwen_parser_check.c.

References DBG_INFO, DBG_VERBOUS, GWEN_ERROR_BAD_DATA, GWEN_LOGDOMAIN, and GWEN_Parser__CheckElementAndChildren().

Referenced by GWEN_Parser__CheckElementAndChildren(), and GWEN_Parser_CheckTree().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GWEN_Parser_CheckTree()

int GWEN_Parser_CheckTree ( const GWEN_PARSER_ELEMENT_TREE *  tDefinitions,
const GWEN_PARSER_ELEMENT_TREE *  tData 
)

Checks all elements of the parser element tree against the definition tree.

Definition at line 147 of file gwen_parser_check.c.

References DBG_DEBUG, GWEN_LOGDOMAIN, and GWEN_Parser__CheckSequence().

Here is the call graph for this function: