aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tls-certificate.h
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-tls-certificate.h')
-rw-r--r--libempathy/empathy-tls-certificate.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/libempathy/empathy-tls-certificate.h b/libempathy/empathy-tls-certificate.h
index 4bf5c188a..3a606c602 100644
--- a/libempathy/empathy-tls-certificate.h
+++ b/libempathy/empathy-tls-certificate.h
@@ -66,10 +66,21 @@ void empathy_tls_certificate_new_async (const gchar *bus_name,
EmpathyTLSCertificate * empathy_tls_certificate_new_finish (GAsyncResult * res,
GError **error);
-void empathy_tls_certificate_accept (EmpathyTLSCertificate *self);
-void empathy_tls_certificate_reject (EmpathyTLSCertificate *self,
+void empathy_tls_certificate_accept_async (EmpathyTLSCertificate *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean empathy_tls_certificate_accept_finish (EmpathyTLSCertificate *self,
+ GAsyncResult *result,
+ GError **error);
+
+void empathy_tls_certificate_reject_async (EmpathyTLSCertificate *self,
EmpTLSCertificateRejectReason reason,
- gboolean user_requested);
+ gboolean user_requested,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean empathy_tls_certificate_reject_finish (EmpathyTLSCertificate *self,
+ GAsyncResult *result,
+ GError **error);
void empathy_tls_certificate_store_ca (EmpathyTLSCertificate *self);