gwenhywfar  4.3.1
Typedefs | Functions
XML Node Path
XML Tree

Typedefs

typedef struct GWEN_XMLNODE_PATH GWEN_XMLNODE_PATH

Functions

GWENHYWFAR_API int GWEN_XMLNode_Path_Dive (GWEN_XMLNODE_PATH *np, GWEN_XMLNODE *n)
GWENHYWFAR_API void GWEN_XMLNode_Path_Dump (GWEN_XMLNODE_PATH *np)
GWENHYWFAR_API GWEN_XMLNODE_PATHGWEN_XMLNode_Path_dup (const GWEN_XMLNODE_PATH *np)
GWENHYWFAR_API void GWEN_XMLNode_Path_free (GWEN_XMLNODE_PATH *np)
GWENHYWFAR_API GWEN_XMLNODE_PATHGWEN_XMLNode_Path_new (void)
GWENHYWFAR_API GWEN_XMLNODEGWEN_XMLNode_Path_Surface (GWEN_XMLNODE_PATH *np)

Detailed Description

This is used by the message engine module (Message Engine). A path consists of a list of nodes which are used while decoding/encoding a message. A GWEN_XMLNODE_PATH serves as a LIFO stack (last-in-first-out).


Typedef Documentation

Definition at line 749 of file xml.h.


Function Documentation

Adds a node to the path.

Definition at line 1669 of file xml.c.

References DBG_DEBUG, DBG_ERROR, and GWEN_LOGDOMAIN.

Referenced by GWEN_MsgEngine__WriteGroup(), and GWEN_MsgEngine_CreateMessageFromNode().

Dumps the contents of all XML nodes in the path.

Definition at line 1700 of file xml.c.

References DBG_NOTICE, GWEN_LOGDOMAIN, and GWEN_XMLNode_Dump().

Definition at line 1649 of file xml.c.

References GWEN_NEW_OBJECT.

Referenced by GWEN_MsgEngine__WriteElement(), and GWEN_MsgEngine_GetGroup().

Definition at line 1640 of file xml.c.

References GWEN_NEW_OBJECT.

Referenced by GWEN_MsgEngine_CreateMessageFromNode().

Removes and returns the last added node (or 0 if that would bring us beyond the root).

Definition at line 1689 of file xml.c.

References DBG_DEBUG, and GWEN_LOGDOMAIN.

Referenced by GWEN_MsgEngine__SearchForValue(), GWEN_MsgEngine__WriteGroup(), and GWEN_MsgEngine_GetGroup().