]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 18 Mar 2016 06:49:46 +0000 (07:49 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 18 Mar 2016 06:49:46 +0000 (07:49 +0100)
vapi/libsoup-2.4.vapi

index b32ba86ac3912ebedac6105ac379ed55863db492..5f1d90183bbb15ac7e97c29ffef981b1fe40465a 100644 (file)
@@ -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 {