int vortex_xml_rpc_unmarshall_int_sync ( XmlRpcMethodResponse response,
XmlRpcResponseStatus status,
VortexChannel channel,
int *  fault_code,
char **  fault_string 
)

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

Parameters:
response The XmlRpcMethodResponse to unmarshall.
status A reference to a XmlRpcResponseStatus to return value stored in the method response.
channel The channel where the XML-RPC message was received.
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:
Returns the value store inside the method response (XmlRpcMethodResponse).