gint vortex_xml_rpc_method_call_get_num_params XmlRpcMethodCall method_call  ) 
 

Allows to get which is the number of parameters that the given XmlRpcMethodCall object has.

The parameter number returned by this function is the one specified while calling to vortex_xml_rpc_method_call_new. It is not the number of parameter that are already added.

You should use vortex_xml_rpc_method_call_get_current_num_params to get which is the number of parameter that are added. A properly formated XmlRpcMethodCall should return the same value while calling to both function.

Parameters:
method_call The method call object to get its parameter numbers.
Returns:
The function return which is the number of parameter that has the object or -1 if it fails. The function only fails if the given method call is NULL.