gint vortex_xml_rpc_method_call_get_param_value_as_int XmlRpcMethodCall method_call,
gint  position
 

Helper function that allows to get the <integer> value from the given position for the arguments received inside the given XmlRpcMethodCall object.

This function is a short-cut to use:

Parameters:
method_call The method call object where the value will be extracted.
position The position to check.
Returns:
The function will return the value associated on the given possition or -1 if fails. Keep in mind that a XmlRpcMethodValue with XML_RPC_INT_VALUE could have as a value a -1. So you have to ensure you are not getting a value that is not an <integer> or, the parameter defined by the given position exists.