extract_method_call


Description:

[ CCode ( sentinel = "G_TYPE_INVALID" ) ]
[ Version ( deprecated = true ) ]
public bool extract_method_call (string method_call, int length, out string method_name, ...)

Warning: extract_method_call is deprecated.

Parses method_call to get the name and parameters, and puts the parameters into variables of the appropriate types.

Note:

Use soup_xmlrpc_parse_request_full instead.

The parameters are handled similarly to soup_xmlrpc_build_method_call, with pairs of types and values, terminated by INVALID, except that values are pointers to variables of the indicated type, rather than values of the type.

See also parse_method_call, which can be used if you don't know the types of the parameters.

Parameters:

method_call

the XML-RPC methodCall string

length

the length of method_call, or -1 if it is NUL-terminated

method_name

on return, the methodName from method_call

...

return types and locations for parameters

Returns:

success or failure.


Namespace: Soup.XMLRPC
Package: libsoup-2.4