[glibmm] TlsClientConnection: Add copy_session_state().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] TlsClientConnection: Add copy_session_state().
- Date: Mon, 14 Sep 2015 14:34:15 +0000 (UTC)
commit df4aff9ee1cdb698f1657c96485c84620dfe53e6
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Sep 14 16:31:27 2015 +0200
TlsClientConnection: Add copy_session_state().
gio/src/tlsclientconnection.hg | 3 +++
tools/m4/convert_gio.m4 | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gio/src/tlsclientconnection.hg b/gio/src/tlsclientconnection.hg
index e493f56..599a3de 100644
--- a/gio/src/tlsclientconnection.hg
+++ b/gio/src/tlsclientconnection.hg
@@ -67,6 +67,9 @@ public:
#m4 _CONVERSION(`GList*',`std::vector< Glib::RefPtr<const Glib::ByteArray> >',`Glib::ListHandler<
Glib::RefPtr<const Glib::ByteArray> >::list_to_vector($3, Glib::OWNERSHIP_DEEP)')
_WRAP_METHOD(std::vector< Glib::RefPtr<const Glib::ByteArray> > get_accepted_cas() const,
g_tls_client_connection_get_accepted_cas)
+
+ _WRAP_METHOD(void copy_session_state(const Glib::RefPtr<TlsClientConnection>& source),
g_tls_client_connection_copy_session_state)
+
_WRAP_PROPERTY("accepted-cas", std::vector< Glib::RefPtr<Glib::ByteArray> >)
_WRAP_PROPERTY("server-identity", Glib::RefPtr<SocketConnectable>)
_WRAP_PROPERTY("use-ssl3", bool)
diff --git a/tools/m4/convert_gio.m4 b/tools/m4/convert_gio.m4
index 8219d4d..053fa23 100644
--- a/tools/m4/convert_gio.m4
+++ b/tools/m4/convert_gio.m4
@@ -310,6 +310,9 @@ _CONVERSION(`const Glib::RefPtr<TlsCertificate>&',`GTlsCertificate*',`Glib::unwr
#TlsConnection:
_CONVERSION(`const Glib::RefPtr<TlsConnection>&',`GTlsConnection*',`Glib::unwrap($3)')
+#TlsClientConnection:
+_CONVERSION(`const Glib::RefPtr<TlsClientConnection>&',`GTlsClientConnection*',__CONVERT_REFPTR_TO_P)
+
#TlsDatabase
_CONVERSION(`GTlsDatabase*',`Glib::RefPtr<TlsDatabase>',`Glib::wrap($3)')
_CONVERSION(`const Glib::RefPtr<TlsDatabase>&',`GTlsDatabase*',__CONVERT_REFPTR_TO_P)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]