2003-12-16 Rodrigo Moya <rodrigo@ximian.com>
* libsoup/soup-soap-response.[ch] (soup_soap_parameter_get_int_value):
new function.
+2003-12-16 Rodrigo Moya <rodrigo@ximian.com>
+
+ * libsoup/soup-soap-response.[ch] (soup_soap_parameter_get_int_value):
+ new function.
+
2003-12-16 Joe Shaw <joe@ximian.com>
* libsoup/soup-connection.c (socket_connect_result,
int
soup_soap_parameter_get_int_value (SoupSoapParameter *param)
{
- g_return_val_if_fail (param != NULL, NULL);
+ g_return_val_if_fail (param != NULL, -1);
return atoi (xmlNodeGetContent (param));
}
typedef xmlNode SoupSoapParameter;
const char *soup_soap_parameter_get_name (SoupSoapParameter *param);
+int soup_soap_parameter_get_int_value (SoupSoapParameter *param);
const char *soup_soap_parameter_get_string_value (SoupSoapParameter *param);
SoupSoapParameter *soup_soap_parameter_get_first_child (SoupSoapParameter *param);
SoupSoapParameter *soup_soap_parameter_get_first_child_by_name (SoupSoapParameter *param,