diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2010-07-16 12:19:33 +0200 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2010-07-22 18:51:48 +0200 |
commit | 5195ba48b5c59a7147c7bfa177df8c4a55af569d (patch) | |
tree | 241190feceabe51e8b4340f06916a181ef5993e1 /wocky/wocky-connector.h | |
parent | 1af3dbb353f609b51c4084a84d485252d351fe7f (diff) | |
download | wocky-5195ba48b5c59a7147c7bfa177df8c4a55af569d.tar.gz |
Use WockyTLS[Handler, Module] in the connector
Diffstat (limited to 'wocky/wocky-connector.h')
-rw-r--r-- | wocky/wocky-connector.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/wocky/wocky-connector.h b/wocky/wocky-connector.h index 385cf29..af66567 100644 --- a/wocky/wocky-connector.h +++ b/wocky/wocky-connector.h @@ -28,6 +28,8 @@ #include "wocky-stanza.h" #include "wocky-tls.h" +#include "wocky-tls-enumtypes.h" +#include "wocky-tls-handler.h" G_BEGIN_DECLS @@ -159,7 +161,8 @@ void wocky_connector_connect_async (WockyConnector *self, WockyConnector *wocky_connector_new (const gchar *jid, const gchar *pass, const gchar *resource, - WockyAuthRegistry *auth_registry); + WockyAuthRegistry *auth_registry, + WockyTLSHandler *tls_handler); void wocky_connector_register_async (WockyConnector *self, GAsyncReadyCallback cb, @@ -173,12 +176,6 @@ gboolean wocky_connector_unregister_finish (WockyConnector *self, GAsyncResult *res, GError **error); -gboolean wocky_connector_add_crl (WockyConnector *self, - const gchar *path); - -gboolean wocky_connector_add_ca (WockyConnector *self, - const gchar *path); - void wocky_connector_set_auth_registry (WockyConnector *self, WockyAuthRegistry *registry); |