int vortex_xml_rpc_method_call_get_param_value_as_int ( XmlRpcMethodCall method_call,
int  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:

method_callThe method call object where the value will be extracted.
positionThe position to check.
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.

References vortex_xml_rpc_method_call_get_param_value(), XML_RPC_DOUBLE_VALUE, and XML_RPC_INT_VALUE.