ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference

 


OSUnserialize.h

Includes:
<sys/appleapiopts.h>

Overview

This header contains the definition of a function that recreates an OS container object from a serialized form of its instance data.



Functions

OSUnserializeXML

Recreates an OS container object from its previously serialized OS container class instance data.


OSUnserializeXML


Recreates an OS container object from its previously serialized OS container class instance data.

extern OSObject* OSUnserializeXML(
    const char *buffer,
    OSString **errorString = 0);  
Parameters
buffer

Pointer to a buffer containing XML data representing the object to be recreated.

errorString

If this is a valid pointer and the XML parser finds an error in buffer, errorString contains text indicating the line number and type of error encountered.

Return Value

Returns a pointer to the recreated object, or zero on failure.


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.

 

Last Updated: 2008-12-19