aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-sasl-mechanisms.h
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-08-22 19:28:32 +0800
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-08-27 21:47:21 +0800
commit51507f03677306f35097e10c1e81d57961d05388 (patch)
treec72a24412806f81658aa23201c8889196234e241 /libempathy/empathy-sasl-mechanisms.h
parentd183765f18a915d889f4b6c6fc6a7f1692522809 (diff)
downloadgsoc2013-empathy-51507f03677306f35097e10c1e81d57961d05388.tar
gsoc2013-empathy-51507f03677306f35097e10c1e81d57961d05388.tar.gz
gsoc2013-empathy-51507f03677306f35097e10c1e81d57961d05388.tar.bz2
gsoc2013-empathy-51507f03677306f35097e10c1e81d57961d05388.tar.lz
gsoc2013-empathy-51507f03677306f35097e10c1e81d57961d05388.tar.xz
gsoc2013-empathy-51507f03677306f35097e10c1e81d57961d05388.tar.zst
gsoc2013-empathy-51507f03677306f35097e10c1e81d57961d05388.zip
Move X-TELEPATHY-PASSWORD mechanism code into empathy-sasl-mechanisms.c
https://bugzilla.gnome.org/show_bug.cgi?id=680776
Diffstat (limited to 'libempathy/empathy-sasl-mechanisms.h')
-rw-r--r--libempathy/empathy-sasl-mechanisms.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy/empathy-sasl-mechanisms.h b/libempathy/empathy-sasl-mechanisms.h
index f0ac12343..ef7ccd6db 100644
--- a/libempathy/empathy-sasl-mechanisms.h
+++ b/libempathy/empathy-sasl-mechanisms.h
@@ -31,6 +31,7 @@ typedef enum
EMPATHY_SASL_MECHANISM_FACEBOOK,
EMPATHY_SASL_MECHANISM_WLM,
EMPATHY_SASL_MECHANISM_GOOGLE,
+ EMPATHY_SASL_MECHANISM_PASSWORD,
} EmpathySaslMechanism;
void empathy_sasl_auth_facebook_async (TpChannel *channel,
@@ -50,6 +51,11 @@ void empathy_sasl_auth_google_async (TpChannel *channel,
GAsyncReadyCallback callback,
gpointer user_data);
+void empathy_sasl_auth_password_async (TpChannel *channel,
+ const gchar *password,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+
gboolean empathy_sasl_auth_finish (TpChannel *channel,
GAsyncResult *result,
GError **error);