libUPnP  1.6.17
Functions
nodeList.c File Reference
#include "ixmlparser.h"
#include <assert.h>
#include <string.h>
Include dependency graph for nodeList.c:

Functions

void ixmlNodeList_init (IXML_NodeList *nList)
 Initializes a nodelist.
IXML_NodeixmlNodeList_item (IXML_NodeList *nList, unsigned long index)
 Retrieves a Node from a NodeList specified by a numerical index.
int ixmlNodeList_addToNodeList (IXML_NodeList **nList, IXML_Node *add)
 Add a node to nodelist.
unsigned long ixmlNodeList_length (IXML_NodeList *nList)
 Returns the number of Nodes in a NodeList.
void ixmlNodeList_free (IXML_NodeList *nList)
 Frees a NodeList object.

Detailed Description


Function Documentation

int ixmlNodeList_addToNodeList ( IXML_NodeList **  nList,
IXML_Node add 
)

Add a node to nodelist.

Parameters:
[in]nListThe pointer to the nodelist.
[in]addThe node to add.

References ixmlNodeList_init().

Referenced by ixmlNode_getChildNodes(), ixmlNode_getElementsByTagName(), ixmlNode_getElementsByTagNameNS(), ixmlNode_getElementsByTagNameNSRecursive(), and ixmlNode_getElementsByTagNameRecursive().

void ixmlNodeList_init ( IXML_NodeList nList)

Initializes a nodelist.

Parameters:
[in,out]nListThe NodeList to initialize.

Referenced by ixmlNode_getChildNodes(), and ixmlNodeList_addToNodeList().