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.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/telepathy-glib/connection-internal.h b/telepathy-glib/connection-internal.h
index 00f274da0..5d4894c43 100644
--- a/telepathy-glib/connection-internal.h
+++ b/telepathy-glib/connection-internal.h
@@ -27,8 +27,25 @@
G_BEGIN_DECLS
-const GArray *_tp_connection_get_contact_attribute_interfaces (
- TpConnection *self);
+typedef void (*TpConnectionProc) (TpConnection *self);
+
+struct _TpConnectionPrivate {
+ /* GArray of TpConnectionProc */
+ GArray *introspect_needed;
+
+ TpConnectionStatus status;
+ TpConnectionStatusReason status_reason;
+
+ TpConnectionAliasFlags alias_flags;
+
+ /* GArray of GQuark */
+ GArray *contact_attribute_interfaces;
+
+ /* TpHandle => weak ref to TpContact */
+ GHashTable *contacts;
+
+ unsigned ready:1;
+};
void _tp_connection_init_handle_refs (TpConnection *self);
void _tp_connection_clean_up_handle_refs (TpConnection *self);