aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tls-certificate.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-08-18 22:08:49 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2010-08-19 01:18:55 +0800
commitd20fcc3aedd0b76b3ea0307bb69324121f49b555 (patch)
treedeb1589324dd254a16f7cc9615e4a21fe5a3e6dc /libempathy/empathy-tls-certificate.h
parent92c282488352fd9067fdfbd1d9e96b668a2ff19c (diff)
downloadgsoc2013-empathy-d20fcc3aedd0b76b3ea0307bb69324121f49b555.tar
gsoc2013-empathy-d20fcc3aedd0b76b3ea0307bb69324121f49b555.tar.gz
gsoc2013-empathy-d20fcc3aedd0b76b3ea0307bb69324121f49b555.tar.bz2
gsoc2013-empathy-d20fcc3aedd0b76b3ea0307bb69324121f49b555.tar.lz
gsoc2013-empathy-d20fcc3aedd0b76b3ea0307bb69324121f49b555.tar.xz
gsoc2013-empathy-d20fcc3aedd0b76b3ea0307bb69324121f49b555.tar.zst
gsoc2013-empathy-d20fcc3aedd0b76b3ea0307bb69324121f49b555.zip
Make _accept/_reject real async methods
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);