summaryrefslogtreecommitdiff
path: root/telepathy-glib/connection.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-01-31 19:40:58 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-02-01 12:06:16 +0000
commit2615205676777cea11a6f2cd3bdf88ccc049b504 (patch)
treec47ac07f47671357594ccccfc626e39e7d919054 /telepathy-glib/connection.h
parent8e5aa8b6485afad8658c749a3133b5a3ee5700a9 (diff)
downloadtelepathy-glib-2615205676777cea11a6f2cd3bdf88ccc049b504.tar.gz
tp_connection_disconnect_async: add
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=45459
Diffstat (limited to 'telepathy-glib/connection.h')
-rw-r--r--telepathy-glib/connection.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/telepathy-glib/connection.h b/telepathy-glib/connection.h
index ada32294f..0359070fd 100644
--- a/telepathy-glib/connection.h
+++ b/telepathy-glib/connection.h
@@ -292,6 +292,13 @@ gboolean tp_connection_get_balance (TpConnection *self,
gint *balance, guint *scale, const gchar **currency);
const gchar * tp_connection_get_balance_uri (TpConnection *self);
+void tp_connection_disconnect_async (TpConnection *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean tp_connection_disconnect_finish (TpConnection *self,
+ GAsyncResult *result,
+ GError **error);
+
G_END_DECLS
#include <telepathy-glib/_gen/tp-cli-connection.h>