aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-utils.h
diff options
context:
space:
mode:
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