From 2ee684990ffc487d7b37e08a7ffa63fd32f8a77a Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 7 Aug 2008 14:40:46 +0000 Subject: Add a function to request a channel from a string handle svn path=/trunk/; revision=1310 --- libempathy/empathy-utils.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'libempathy/empathy-utils.h') diff --git a/libempathy/empathy-utils.h b/libempathy/empathy-utils.h index 92ba44a94..a320c6246 100644 --- a/libempathy/empathy-utils.h +++ b/libempathy/empathy-utils.h @@ -107,7 +107,21 @@ gboolean empathy_proxy_equal (gconstpointer a, gconstpointer b); guint empathy_proxy_hash (gconstpointer key); - +typedef void (*empathy_connection_callback_for_request_channel) (TpConnection *connection, + TpChannel *channel, + const GError *error, + gpointer user_data, + GObject *weak_object); +void empathy_connection_request_channel (TpConnection *proxy, + gint timeout_ms, + const gchar *channel_type, + guint handle_type, + const gchar *name, + gboolean suppress_handler, + empathy_connection_callback_for_request_channel callback, + gpointer user_data, + GDestroyNotify destroy, + GObject *weak_object); G_END_DECLS -- cgit v1.2.3