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:
-
info | Additinal info |
NULL | No additional info (Default setting) |
- Parameters:
-
void CNXMLSetNodeInfo |
( |
void * |
node, |
|
|
void * |
info |
|
) |
| |
Set additional information to XML node.
- Parameters:
-
node | Destination node |
info | Additional information |
- Note
- The info is deallocated by free() function when the node object is deallocated or when the info is overwritten.