|
Mac Dev Center
Mac OS X Reference Library Drivers, Kernel, & Hardware: Kernel Device Drivers Kernel Framework Reference
|
OSUnserialize.h |
| Includes: |
<sys/appleapiopts.h>
|
This header declares the OSUnserializeXML function.
Recreates an OSContainer object from its previously serialized OSContainer class instance data.
OSUnserializeXML |
Recreates an OSContainer object from its previously serialized OSContainer class instance data.
extern OSObject * OSUnserializeXML( const char * buffer, OSString ** errorString = 0);
bufferA buffer containing nul-terminated XML data representing the object to be recreated.
errorStringIf non-NULL, and the XML parser
finds an error in buffer,
*errorString indicates the line number
and type of error encountered.
The recreated object, or NULL on failure.
Not safe to call in a primary interrupt handler.
Last Updated: 2009-10-14