OSUnserialize.h

Includes:
<sys/appleapiopts.h>

Overview

This header declares the OSUnserializeXML function.



Functions

OSUnserializeXML

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);  
Parameters
buffer

A buffer containing nul-terminated XML data representing the object to be recreated.

errorString

If non-NULL, and the XML parser finds an error in buffer, *errorString indicates the line number and type of error encountered.

Return Value

The recreated object, or NULL on failure.

Discussion

Not safe to call in a primary interrupt handler.

 

 

Last Updated: 2009-10-14