2003-12-16 Rodrigo Moya <rodrigo@ximian.com>
* libsoup/soup-soap-response.[ch] (soup_soap_parameter_get_int_value):
new function.
* Copyright (C) 2003, Novell, Inc.
*/
* Copyright (C) 2003, Novell, Inc.
*/
#include <string.h>
#include <libxml/tree.h>
#include "soup-misc.h"
#include <string.h>
#include <libxml/tree.h>
#include "soup-misc.h"
+ * soup_soap_parameter_get_int_value:
+ */
+int
+soup_soap_parameter_get_int_value (SoupSoapParameter *param)
+{
+ g_return_val_if_fail (param != NULL, NULL);
+
+ return atoi (xmlNodeGetContent (param));
+}
+
+/**
* soup_soap_parameter_get_string_value:
*/
const char *
* soup_soap_parameter_get_string_value:
*/
const char *