[vala] libsoup-2.4: Fixes for several xmlrpc-related functions
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] libsoup-2.4: Fixes for several xmlrpc-related functions
- Date: Sun, 29 Mar 2009 15:09:02 -0400 (EDT)
commit c4fb2cd6a375e4f787d6ae7b1b9eb7d0d939c63e
Author: Evan Nemerson <evan coeus-group com>
Date: Wed Mar 25 13:54:06 2009 -0700
libsoup-2.4: Fixes for several xmlrpc-related functions
Fixes bug 576768.
---
vapi/libsoup-2.4.vapi | 26 ++++++++++++-----------
vapi/packages/libsoup-2.4/libsoup-2.4.metadata | 8 +++++++
2 files changed, 22 insertions(+), 12 deletions(-)
diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi
index ae69d73..b55de24 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -537,8 +537,8 @@ namespace Soup {
}
[CCode (cprefix = "SOUP_HTTP_", cheader_filename = "libsoup/soup.h")]
public enum HTTPVersion {
- 1_0,
- 1_1
+ @1_0,
+ @1_1
}
[CCode (cprefix = "SOUP_STATUS_", cheader_filename = "libsoup/soup.h")]
public enum KnownStatusCode {
@@ -981,28 +981,30 @@ namespace Soup {
public static unowned GLib.HashTable value_hash_new ();
[CCode (cheader_filename = "libsoup/soup.h")]
public static unowned GLib.HashTable value_hash_new_with_vals (...);
+ [PrintfFormat]
[CCode (cheader_filename = "libsoup/soup.h")]
- public static unowned string xmlrpc_build_fault (int fault_code, string fault_format);
+ public static unowned string xmlrpc_build_fault (int fault_code, string fault_format, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
public static unowned string xmlrpc_build_method_call (string method_name, GLib.Value[] params);
[CCode (cheader_filename = "libsoup/soup.h")]
public static unowned string xmlrpc_build_method_response (GLib.Value value);
[CCode (cheader_filename = "libsoup/soup.h")]
public static GLib.Quark xmlrpc_error_quark ();
- [CCode (cheader_filename = "libsoup/soup.h")]
- public static bool xmlrpc_extract_method_call (string method_call, int length, out unowned string method_name);
- [CCode (cheader_filename = "libsoup/soup.h")]
- public static bool xmlrpc_extract_method_response (string method_response, int length, GLib.Type type) throws GLib.Error;
+ [CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
+ public static bool xmlrpc_extract_method_call (string method_call, int length, out unowned string method_name, ...);
+ [CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
+ public static bool xmlrpc_extract_method_response (string method_response, int length, ...) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h")]
public static GLib.Quark xmlrpc_fault_quark ();
[CCode (cheader_filename = "libsoup/soup.h")]
public static bool xmlrpc_parse_method_call (string method_call, int length, out unowned string method_name, out unowned GLib.ValueArray params);
[CCode (cheader_filename = "libsoup/soup.h")]
public static bool xmlrpc_parse_method_response (string method_response, int length, GLib.Value value) throws GLib.Error;
+ [CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
+ public static unowned Soup.Message xmlrpc_request_new (string uri, string method_name, ...);
+ [PrintfFormat]
[CCode (cheader_filename = "libsoup/soup.h")]
- public static unowned Soup.Message xmlrpc_request_new (string uri, string method_name);
- [CCode (cheader_filename = "libsoup/soup.h")]
- public static void xmlrpc_set_fault (Soup.Message msg, int fault_code, string fault_format);
- [CCode (cheader_filename = "libsoup/soup.h")]
- public static void xmlrpc_set_response (Soup.Message msg, GLib.Type type);
+ public static void xmlrpc_set_fault (Soup.Message msg, int fault_code, string fault_format, ...);
+ [CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
+ public static void xmlrpc_set_response (Soup.Message msg, ...);
}
diff --git a/vapi/packages/libsoup-2.4/libsoup-2.4.metadata b/vapi/packages/libsoup-2.4/libsoup-2.4.metadata
index d9cb292..b6a7d90 100644
--- a/vapi/packages/libsoup-2.4/libsoup-2.4.metadata
+++ b/vapi/packages/libsoup-2.4/libsoup-2.4.metadata
@@ -28,6 +28,14 @@ soup_uri_encode.escape_extra nullable="1"
soup_uri_copy transfer_ownership="1"
soup_uri_to_string transfer_ownership="1"
soup_uri_normalize transfer_ownership="1"
+soup_xmlrpc_build_fault ellipsis="1" printf_format="1"
+soup_xmlrpc_extract_method_call ellipsis="1" sentinel="G_TYPE_INVALID"
+soup_xmlrpc_extract_method_response ellipsis="1" sentinel="G_TYPE_INVALID"
+soup_xmlrpc_extract_method_response.type hidden="1"
+soup_xmlrpc_request_new ellipsis="1" sentinel="G_TYPE_INVALID"
+soup_xmlrpc_set_response ellipsis="1" sentinel="G_TYPE_INVALID"
+soup_xmlrpc_set_response.type hidden="1"
+soup_xmlrpc_set_fault ellipsis="1" printf_format="1"
# unsupported
GData name="pointer"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]