}
[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 {
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, ...);
}