summaryrefslogtreecommitdiff
path: root/telepathy-glib/connection-internal.h
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-10-20 15:23:50 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-10-24 16:33:06 +0200
commitf1f4e8bc7f58bb8e4c551bbc0c98674cfa0dc1c7 (patch)
tree301ec193cdc8e58272cab12674a646c7e5fe4eac /telepathy-glib/connection-internal.h
parent6bf59dec6b50af267f56eeb7980476919a1dd92d (diff)
downloadtelepathy-glib-f1f4e8bc7f58bb8e4c551bbc0c98674cfa0dc1c7.tar.gz
Add internal API to get connection capabilities without having core prepared
Diffstat (limited to 'telepathy-glib/connection-internal.h')
-rw-r--r--telepathy-glib/connection-internal.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/telepathy-glib/connection-internal.h b/telepathy-glib/connection-internal.h
index 6e3c3b5b2..8df5281b0 100644
--- a/telepathy-glib/connection-internal.h
+++ b/telepathy-glib/connection-internal.h
@@ -59,6 +59,7 @@ struct _TpConnectionPrivate {
GHashTable *contacts;
TpCapabilities *capabilities;
+ GQueue capabilities_queue;
TpAvatarRequirements *avatar_requirements;
GArray *avatar_request_queue;
@@ -115,6 +116,15 @@ void _tp_connection_status_reason_to_gerror (TpConnectionStatusReason reason,
const gchar **ret_str,
GError **error);
+/* Internal hook to break potential dependency loop between Connection and
+ * Contacts */
+void _tp_connection_get_capabilities_async (TpConnection *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+
+gboolean _tp_connection_get_capabilities_finish (TpConnection *self,
+ GAsyncResult *result, GError **error);
+
void _tp_connection_add_contact (TpConnection *self, TpHandle handle,
TpContact *contact);
void _tp_connection_remove_contact (TpConnection *self, TpHandle handle,