char * vortex_xml_rpc_method_value_stringify ( XmlRpcMethodValue value)

Allows to convert the provided XmlRpcMethodValue into a string representation.

The function doesn't support complex values: struct and array. It only support converting method values from XML_RPC_INT_VALUE, XML_RPC_BOOLEAN_VALUE, XML_RPC_DOUBLE_VALUE, and XML_RPC_STRING_VALUE string basic types.

Parameters
valueThe method value to convert into a string representing the type.
Returns
The string representing the value or NULL if it fails. The returned value must be deallocated.

References method_value_get_type, XML_RPC_ARRAY_VALUE, XML_RPC_BASE64_VALUE, XML_RPC_BOOLEAN_VALUE, XML_RPC_DATE_VALUE, XML_RPC_DOUBLE_VALUE, XML_RPC_INT_VALUE, XML_RPC_STRING_VALUE, and XML_RPC_STRUCT_VALUE.

Referenced by vortex_xml_rpc_method_response_stringify().