diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-18 18:42:24 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-18 20:48:27 +0800 |
commit | e8946503f98e8530fd35bb72a3235a286aac4a57 (patch) | |
tree | ba74e323f1194a75590a21cfbe7510847e61de63 /libempathy | |
parent | e097dd35820e5cc714184d89928efbdb74e70adb (diff) | |
download | gsoc2013-empathy-e8946503f98e8530fd35bb72a3235a286aac4a57.tar gsoc2013-empathy-e8946503f98e8530fd35bb72a3235a286aac4a57.tar.gz gsoc2013-empathy-e8946503f98e8530fd35bb72a3235a286aac4a57.tar.bz2 gsoc2013-empathy-e8946503f98e8530fd35bb72a3235a286aac4a57.tar.lz gsoc2013-empathy-e8946503f98e8530fd35bb72a3235a286aac4a57.tar.xz gsoc2013-empathy-e8946503f98e8530fd35bb72a3235a286aac4a57.tar.zst gsoc2013-empathy-e8946503f98e8530fd35bb72a3235a286aac4a57.zip |
add empathy_server_sasl_handler_get_channel()
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-server-sasl-handler.c | 12 | ||||
-rw-r--r-- | libempathy/empathy-server-sasl-handler.h | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/libempathy/empathy-server-sasl-handler.c b/libempathy/empathy-server-sasl-handler.c index a92b2b220..e28aec99e 100644 --- a/libempathy/empathy-server-sasl-handler.c +++ b/libempathy/empathy-server-sasl-handler.c @@ -493,6 +493,18 @@ empathy_server_sasl_handler_get_account (EmpathyServerSASLHandler *handler) return priv->account; } +TpChannel * +empathy_server_sasl_handler_get_channel (EmpathyServerSASLHandler *handler) +{ + EmpathyServerSASLHandlerPriv *priv; + + g_return_val_if_fail (EMPATHY_IS_SERVER_SASL_HANDLER (handler), NULL); + + priv = handler->priv; + + return priv->channel; +} + gboolean empathy_server_sasl_handler_has_password (EmpathyServerSASLHandler *handler) { diff --git a/libempathy/empathy-server-sasl-handler.h b/libempathy/empathy-server-sasl-handler.h index d89a4064f..94be69b10 100644 --- a/libempathy/empathy-server-sasl-handler.h +++ b/libempathy/empathy-server-sasl-handler.h @@ -74,6 +74,9 @@ void empathy_server_sasl_handler_cancel (EmpathyServerSASLHandler *handler); TpAccount * empathy_server_sasl_handler_get_account ( EmpathyServerSASLHandler *handler); +TpChannel * empathy_server_sasl_handler_get_channel ( + EmpathyServerSASLHandler *handler); + gboolean empathy_server_sasl_handler_has_password ( EmpathyServerSASLHandler *handler); |