gwenhywfar  5.3.0
Functions
gwen_parser_update.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__UpdateElementAndChildren (const GWEN_PARSER_ELEMENT *eDefinitions, GWEN_PARSER_ELEMENT *eData, int depth)
 
int GWEN_Parser__UpdateSequence (const GWEN_PARSER_ELEMENT *eDefinitions, GWEN_PARSER_ELEMENT *eData, int depth)
 
int GWEN_Parser_UpdateTree (const GWEN_PARSER_ELEMENT_TREE *tDefinitions, GWEN_PARSER_ELEMENT_TREE *tData)
 

Function Documentation

◆ GWEN_Parser__UpdateElementAndChildren()

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

Definition at line 29 of file gwen_parser_update.c.

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

Referenced by GWEN_Parser__UpdateSequence().

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

◆ GWEN_Parser__UpdateSequence()

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

Definition at line 76 of file gwen_parser_update.c.

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

Referenced by GWEN_Parser__UpdateElementAndChildren(), and GWEN_Parser_UpdateTree().

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

◆ GWEN_Parser_UpdateTree()

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

Updates all elements of the parser element tree with info from the definition tree. That is, all elements from the data tree get their DbName from their matching definition elements.

Definition at line 152 of file gwen_parser_update.c.

References DBG_DEBUG, GWEN_LOGDOMAIN, and GWEN_Parser__UpdateSequence().

Here is the call graph for this function: