From: Rico Tzschichholz Date: Fri, 18 Mar 2016 06:49:46 +0000 (+0100) Subject: vapi: Update GIR-based bindings X-Git-Tag: 0.32.0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5143b83ced07fdc12b739e65ed54fe275914d25;p=thirdparty%2Fvala.git vapi: Update GIR-based bindings --- diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi index b32ba86ac..5f1d90183 100644 --- a/vapi/libsoup-2.4.vapi +++ b/vapi/libsoup-2.4.vapi @@ -150,6 +150,8 @@ namespace Soup { [CCode (has_construct_function = false)] public Auth (GLib.Type type, Soup.Message msg, string auth_header); public virtual void authenticate (string username, string password); + [Version (since = "2.54")] + public virtual bool can_authenticate (); public virtual string get_authorization (Soup.Message msg); public unowned string get_host (); public string get_info (); @@ -245,6 +247,13 @@ namespace Soup { [CCode (has_construct_function = false)] protected AuthNTLM (); } + [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_auth_negotiate_get_type ()")] + public class AuthNegotiate : Soup.Auth { + [CCode (has_construct_function = false)] + protected AuthNegotiate (); + [Version (since = "2.54")] + public static bool supported (); + } [CCode (cheader_filename = "libsoup/soup.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "soup_buffer_get_type ()")] [Compact] public class Buffer {