From 0d8dd2cf5cb7ba2d75b71bf765b299727eb32e26 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 3 Jun 2015 10:18:36 -0400 Subject: [PATCH] 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 deletion(-) diff --git a/docs/reference/gio/gio-sections.txt b/docs/reference/gio/gio-sections.txt index 4a2c942b7..c8baec419 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 -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 ba94fe10e..25382379e 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.