aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-server-sasl-handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-server-sasl-handler.h')
-rw-r--r--libempathy/empathy-server-sasl-handler.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/libempathy/empathy-server-sasl-handler.h b/libempathy/empathy-server-sasl-handler.h
index cdedef90c..1eedc5b27 100644
--- a/libempathy/empathy-server-sasl-handler.h
+++ b/libempathy/empathy-server-sasl-handler.h
@@ -58,8 +58,12 @@ GType empathy_server_sasl_handler_get_type (void);
(G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_SERVER_SASL_HANDLER, \
EmpathyServerSASLHandlerClass))
-EmpathyServerSASLHandler * empathy_server_sasl_handler_new (
- TpAccount *account, TpChannel *channel);
+void empathy_server_sasl_handler_new_async (
+ TpAccount *account, TpChannel *channel,
+ GAsyncReadyCallback callback, gpointer user_data);
+
+EmpathyServerSASLHandler * empathy_server_sasl_handler_new_finish (
+ GAsyncResult *result, GError **error);
void empathy_server_sasl_handler_provide_password (
EmpathyServerSASLHandler *handler, const gchar *password,
@@ -70,6 +74,9 @@ void empathy_server_sasl_handler_cancel (EmpathyServerSASLHandler *handler);
TpAccount * empathy_server_sasl_handler_get_account (
EmpathyServerSASLHandler *handler);
+gboolean empathy_server_sasl_handler_has_password (
+ EmpathyServerSASLHandler *handler);
+
G_END_DECLS
#endif /* #ifndef __EMPATHY_SERVER_SASL_HANDLER_H__*/