XmlRpcMethodValue * vortex_xml_rpc_method_value_new_from_string ( XmlRpcParamType  type,
const char *  string_value 

Creates a new XmlRpcMethodValue object from the given type, using as value the string provided.

The string provided must contain a value according to the type provided. See also vortex_xml_rpc_method_value_new_from_string2, which could create a method value by providing all its values as string references.

Currently, the following types are supported to be translated from the string form into the native type representation:

type The type for the new instance.
string_value A string value, representing the type configured.
A newly created XmlRpcMethodValue or NULL if fails.