]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-tls-verifier.h
Clean up #include directives in headers
[empathy.git] / libempathy / empathy-tls-verifier.h
index b4cc1fcb79c77257b3cc81e28986ffb43a02aab3..c25d9756cb02a2a611e0ac0c7673d252210142a7 100644 (file)
 
 #include <glib-object.h>
 #include <gio/gio.h>
-
-#include <libempathy/empathy-tls-certificate.h>
-
-#include <extensions/extensions.h>
+#include <telepathy-glib/telepathy-glib.h>
 
 G_BEGIN_DECLS
 
@@ -61,8 +58,9 @@ GType empathy_tls_verifier_get_type (void);
   EmpathyTLSVerifierClass))
 
 EmpathyTLSVerifier * empathy_tls_verifier_new (
-    EmpathyTLSCertificate *certificate,
-    const gchar *hostname);
+    TpTLSCertificate *certificate,
+    const gchar *hostname,
+    const gchar **reference_identities);
 
 void empathy_tls_verifier_verify_async (EmpathyTLSVerifier *self,
     GAsyncReadyCallback callback,
@@ -70,9 +68,12 @@ void empathy_tls_verifier_verify_async (EmpathyTLSVerifier *self,
 
 gboolean empathy_tls_verifier_verify_finish (EmpathyTLSVerifier *self,
     GAsyncResult *res,
-    EmpTLSCertificateRejectReason *reason,
+    TpTLSCertificateRejectReason *reason,
+    GHashTable **details,
     GError **error);
 
+void empathy_tls_verifier_store_exception (EmpathyTLSVerifier *self);
+
 G_END_DECLS
 
 #endif /* #ifndef __EMPATHY_TLS_VERIFIER_H__*/