summaryrefslogtreecommitdiff
path: root/telepathy-glib/channel.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-05-01 11:02:28 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-05-01 11:02:28 +0000
commit0bcf123d65a83bfc322c2078ea42dc6db16c6d69 (patch)
tree45bd0e10554823bcaba46c1f8d6e8cc570b8c70a /telepathy-glib/channel.h
parent2ae91bfe608599fd111fc6228f8dc5453b771a1c (diff)
downloadtelepathy-glib-0bcf123d65a83bfc322c2078ea42dc6db16c6d69.tar.gz
Add tp_channel_call_when_ready() (part of fd.o #15300)
20080501110228-53eee-a0bf5babf7c68d494e9334682b25d098aa79cf38.gz
Diffstat (limited to 'telepathy-glib/channel.h')
-rw-r--r--telepathy-glib/channel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/telepathy-glib/channel.h b/telepathy-glib/channel.h
index 9a81e8d6f..88f985f54 100644
--- a/telepathy-glib/channel.h
+++ b/telepathy-glib/channel.h
@@ -62,6 +62,12 @@ TpChannel *tp_channel_new (TpConnection *conn,
gboolean tp_channel_run_until_ready (TpChannel *self, GError **error,
GMainLoop **loop);
+typedef void (*TpChannelWhenReadyCb) (TpChannel *channel, const GError *error,
+ gpointer user_data);
+
+void tp_channel_call_when_ready (TpChannel *self,
+ TpChannelWhenReadyCb callback, gpointer user_data);
+
void tp_channel_init_known_interfaces (void);
G_END_DECLS