Coconut XML Framework  beta
Functions
CNXMLInit.h File Reference

Define memory manager for XML. More...

Go to the source code of this file.

Functions

void * CNXMLNodeInfo (void *node)
 Get additional information in XML node.
void CNXMLSetNodeInfo (void *node, void *info)
 Set additional information to XML node.

Detailed Description

Define memory manager for XML.

Copyright
Copyright (C) 2012 Steel Wheels Project

Function Documentation

void* CNXMLNodeInfo ( void *  node)

Get additional information in XML node.

Return values:
infoAdditinal info
NULLNo additional info (Default setting)
Parameters:
nodeSource XML object
void CNXMLSetNodeInfo ( void *  node,
void *  info 
)

Set additional information to XML node.

Parameters:
nodeDestination node
infoAdditional information
Note
The info is deallocated by free() function when the node object is deallocated or when the info is overwritten.