[glib] doc: add GTlsInteractionClass



commit 0d8dd2cf5cb7ba2d75b71bf765b299727eb32e26
Author: Xavier Claessens <xavier claessens collabora com>
Date:   Wed Jun 3 10:18:36 2015 -0400

    doc: add GTlsInteractionClass
    
    https://bugzilla.gnome.org/show_bug.cgi?id=750344

 docs/reference/gio/gio-sections.txt |    2 +-
 gio/gtlsinteraction.c               |    9 +++++++++
 2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/gio/gio-sections.txt b/docs/reference/gio/gio-sections.txt
index 4a2c942..c8baec4 100644
--- a/docs/reference/gio/gio-sections.txt
+++ b/docs/reference/gio/gio-sections.txt
@@ -3755,6 +3755,7 @@ GTlsPasswordPrivate
 GTlsInteraction
 GTlsInteractionResult
 GTlsCertificateRequestFlags
+GTlsInteractionClass
 g_tls_interaction_invoke_ask_password
 g_tls_interaction_invoke_request_certificate
 g_tls_interaction_ask_password
@@ -3764,7 +3765,6 @@ g_tls_interaction_request_certificate
 g_tls_interaction_request_certificate_async
 g_tls_interaction_request_certificate_finish
 <SUBSECTION Standard>
-GTlsInteractionClass
 G_IS_TLS_INTERACTION
 G_IS_TLS_INTERACTION_CLASS
 G_TYPE_TLS_INTERACTION
diff --git a/gio/gtlsinteraction.c b/gio/gtlsinteraction.c
index ba94fe1..2538237 100644
--- a/gio/gtlsinteraction.c
+++ b/gio/gtlsinteraction.c
@@ -80,6 +80,15 @@
  *     If the implementation returns %G_TLS_INTERACTION_HANDLED, then the
  *     password argument of the async method should have been filled in by using
  *     g_tls_password_set_value() or a similar function.
+ * @request_certificate: ask for a certificate synchronously. If the
+ *     implementation returns %G_TLS_INTERACTION_HANDLED, then the connection
+ *     argument should have been filled in by using
+ *     g_tls_connection_set_certificate().
+ * @request_certificate_async: ask for a certificate asyncronously.
+ * @request_certificate_finish: complete operation to ask for a certificate
+ *     asynchronously. If the implementation returns %G_TLS_INTERACTION_HANDLED,
+ *     then the connection argument of the async method should have been
+ *     filled in by using g_tls_connection_set_certificate().
  *
  * The class for #GTlsInteraction. Derived classes implement the various
  * virtual interaction methods to handle TLS interactions.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]