aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-utils.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-08-07 22:40:46 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-08-07 22:40:46 +0800
commit2ee684990ffc487d7b37e08a7ffa63fd32f8a77a (patch)
treea538fb838bcbf562e16cfd1d4c86d699b0ef1db2 /libempathy/empathy-utils.h
parenta4f3d92a7af11a4ea696d1ce3dbae99281f03f58 (diff)
downloadgsoc2013-empathy-2ee684990ffc487d7b37e08a7ffa63fd32f8a77a.tar
gsoc2013-empathy-2ee684990ffc487d7b37e08a7ffa63fd32f8a77a.tar.gz
gsoc2013-empathy-2ee684990ffc487d7b37e08a7ffa63fd32f8a77a.tar.bz2
gsoc2013-empathy-2ee684990ffc487d7b37e08a7ffa63fd32f8a77a.tar.lz
gsoc2013-empathy-2ee684990ffc487d7b37e08a7ffa63fd32f8a77a.tar.xz
gsoc2013-empathy-2ee684990ffc487d7b37e08a7ffa63fd32f8a77a.tar.zst
gsoc2013-empathy-2ee684990ffc487d7b37e08a7ffa63fd32f8a77a.zip
Add a function to request a channel from a string handle
svn path=/trunk/; revision=1310
Diffstat (limited to 'libempathy/empathy-utils.h')
-rw-r--r--libempathy/empathy-utils.h16
1 files changed, 15 insertions, 1 deletions
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