gwenhywfar  5.3.0
Functions
xml2db.c File Reference
#include "xml2db_p.h"
#include <gwenhywfar/debug.h>
#include <gwenhywfar/text.h>
#include <gwenhywfar/gwendate.h>
#include <ctype.h>
Include dependency graph for xml2db.c:

Go to the source code of this file.

Functions

void GWEN_Xml2Db_Context_EnterDocNode (GWEN_XML2DB_CONTEXT *ctx, GWEN_XMLNODE *xmlNode)
 
void GWEN_Xml2Db_Context_free (GWEN_XML2DB_CONTEXT *ctx)
 
int GWEN_Xml2Db_Context_HandleChildren (GWEN_XML2DB_CONTEXT *ctx, GWEN_XMLNODE *xmlNode)
 
void GWEN_Xml2Db_Context_LeaveDocNode (GWEN_XML2DB_CONTEXT *ctx)
 
GWEN_XML2DB_CONTEXT * GWEN_Xml2Db_Context_new (GWEN_XMLNODE *documentRoot, GWEN_DB_NODE *dbRoot)
 

Function Documentation

◆ GWEN_Xml2Db_Context_EnterDocNode()

void GWEN_Xml2Db_Context_EnterDocNode ( GWEN_XML2DB_CONTEXT *  ctx,
GWEN_XMLNODE xmlNode 
)

Definition at line 81 of file xml2db.c.

References GWEN_XMLNode_List2_PushBack().

Referenced by _handleXmlEnter(), _handleXmlForEvery(), and _xmlCreateAndEnterElement().

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

◆ GWEN_Xml2Db_Context_free()

void GWEN_Xml2Db_Context_free ( GWEN_XML2DB_CONTEXT *  ctx)

Definition at line 68 of file xml2db.c.

References GWEN_DB_Group_free(), GWEN_FREE_OBJECT, GWEN_XMLNode_List2_free(), and NULL.

Referenced by GWEN_Xml2Db(), and GWEN_XmlFromDb().

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

◆ GWEN_Xml2Db_Context_HandleChildren()

int GWEN_Xml2Db_Context_HandleChildren ( GWEN_XML2DB_CONTEXT *  ctx,
GWEN_XMLNODE xmlNode 
)

◆ GWEN_Xml2Db_Context_LeaveDocNode()

void GWEN_Xml2Db_Context_LeaveDocNode ( GWEN_XML2DB_CONTEXT *  ctx)

Definition at line 92 of file xml2db.c.

References DBG_ERROR, GWEN_LOGDOMAIN, GWEN_XMLNode_List2_GetBack(), GWEN_XMLNode_List2_PopBack(), and NULL.

Referenced by _handleXmlEnter(), _handleXmlForEvery(), and _xmlCreateAndEnterElement().

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

◆ GWEN_Xml2Db_Context_new()

GWEN_XML2DB_CONTEXT* GWEN_Xml2Db_Context_new ( GWEN_XMLNODE documentRoot,
GWEN_DB_NODE dbRoot 
)

Definition at line 47 of file xml2db.c.

References GWEN_DB_Group_new(), GWEN_NEW_OBJECT, and GWEN_XMLNode_List2_new().

Referenced by GWEN_Xml2Db(), and GWEN_XmlFromDb().

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