summaryrefslogtreecommitdiff
path: root/telepathy-glib/connection-internal.h
diff options
context:
space:
mode:
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,