[vala/staging: 2/2] gio-2.0: Add new symbols from 2.66
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 2/2] gio-2.0: Add new symbols from 2.66
- Date: Fri, 26 Jun 2020 16:36:24 +0000 (UTC)
commit aae22f92f44245d528b14718b21d094b5510e398
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Jun 26 18:22:12 2020 +0200
gio-2.0: Add new symbols from 2.66
vapi/gio-2.0.vapi | 21 +++++++++++++++++++++
vapi/metadata/Gio-2.0.metadata | 4 ++++
2 files changed, 25 insertions(+)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 2b64455b6..92041900e 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -2997,6 +2997,9 @@ namespace GLib {
protected TlsConnection ();
public bool emit_accept_certificate (GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags
errors);
public unowned GLib.TlsCertificate? get_certificate ();
+ [CCode (vfunc_name = "get_binding_data")]
+ [Version (since = "2.66")]
+ public virtual bool get_channel_binding_data (GLib.TlsChannelBindingType type, out unowned
GLib.ByteArray data) throws GLib.TlsChannelBindingError;
[Version (since = "2.30")]
public unowned GLib.TlsDatabase? get_database ();
[Version (since = "2.30")]
@@ -3489,6 +3492,9 @@ namespace GLib {
public async bool close_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable?
cancellable = null) throws GLib.Error;
public bool emit_accept_certificate (GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags
errors);
public unowned GLib.TlsCertificate? get_certificate ();
+ [CCode (vfunc_name = "get_binding_data")]
+ [Version (since = "2.66")]
+ public virtual bool get_channel_binding_data (GLib.TlsChannelBindingType type, out unowned
GLib.ByteArray data) throws GLib.TlsChannelBindingError;
public unowned GLib.TlsDatabase? get_database ();
public unowned GLib.TlsInteraction? get_interaction ();
[Version (since = "2.60")]
@@ -4597,6 +4603,12 @@ namespace GLib {
public enum TlsCertificateRequestFlags {
NONE
}
+ [CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_CHANNEL_BINDING_TLS_", type_id =
"g_tls_channel_binding_type_get_type ()")]
+ [Version (since = "2.66")]
+ public enum TlsChannelBindingType {
+ UNIQUE,
+ SERVER_END_POINT
+ }
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_DATABASE_LOOKUP_", type_id =
"g_tls_database_lookup_flags_get_type ()")]
[Version (since = "2.30")]
public enum TlsDatabaseLookupFlags {
@@ -4798,6 +4810,15 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public static GLib.Quark quark ();
}
+ [CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_CHANNEL_BINDING_ERROR_")]
+ [Version (since = "2.66")]
+ public errordomain TlsChannelBindingError {
+ NOT_IMPLEMENTED,
+ INVALID_STATE,
+ NOT_AVAILABLE,
+ NOT_SUPPORTED,
+ GENERAL_ERROR
+ }
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_ERROR_")]
[Version (since = "2.28")]
public errordomain TlsError {
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index 4b8dfaf5d..128a9bb37 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -369,6 +369,8 @@ Application
Converter
.convert.inbuf nullable=false
DBusSubtreeVTable.enumerate skip=false
+DtlsConnection
+ .get_channel_binding_data#method virtual vfunc_name="get_binding_data" throws="GLib.TlsChannelBindingError"
File
.measure_disk_usage* skip=false
.measure_disk_usage*.* default=()
@@ -388,5 +390,7 @@ TlsBackend
.get_client_connection_type abstract
.get_file_database_type abstract
.get_server_connection_type abstract
+TlsConnection
+ .get_channel_binding_data#method virtual vfunc_name="get_binding_data" throws="GLib.TlsChannelBindingError"
IOStream
.splice_async finish_instance=false
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]