axlPointer vortex_xml_rpc_unmarshall_struct_sync ( XmlRpcMethodResponse response,
XmlRpcStructUnMarshaller  unmarshaller,
XmlRpcResponseStatus status,
VortexChannel channel,
int *  fault_code,
char **  fault_string 

Gets the struct value from the XmlRpcMethodResponse, setting the fault code and the fault string, releasing the XmlRpcMethodResponse passed in.

The function will use the provided unmarshaller function to generate a higher level structure result. This handler is optional. In the case it is not provided, a reference to a XmlRpcStruct will be returned.

This unmarshaller function is mainly used by the xml-rpc-gen tool to create a C client stub that is more suitable for the common use (rather interfacing with XmlRpcStruct).

response The XmlRpcMethodResponse to unmarshall.
unmarshaller User space, higher level unmarshaller function.
channel The channel where the XML-RPC message was received.
status A reference to a XmlRpcResponseStatus to return value stored in the method response.
fault_code The fault code reference to fill up the reference if an error is found.
fault_string The fault string reference to fill up if an error is found. If the fault string variable is defined (on error status: status != XML_RPC_OK) , it must be deallocated after using it.
Returns the value store inside the method response (XmlRpcMethodResponse).