Tree @debian/0.11.11-1 (Download .tar.gz)
- ..
- versions
- abi.am
- account-internal.h
- account-manager-internal.h
- account-manager.c
- account-manager.h
- account-manager.xml
- account.c
- account.h
- account.xml
- add-dispatch-operation-context-internal.h
- add-dispatch-operation-context.c
- add-dispatch-operation-context.h
- base-client.c
- base-client.h
- base-connection-manager.c
- base-connection-manager.h
- base-connection.c
- base-connection.h
- base-protocol-internal.h
- base-protocol.c
- base-protocol.h
- capabilities-internal.h
- capabilities.c
- capabilities.h
- channel-dispatch-operation-internal.h
- channel-dispatch-operation.c
- channel-dispatch-operation.h
- channel-dispatch-operation.xml
- channel-dispatcher.c
- channel-dispatcher.h
- channel-dispatcher.xml
- channel-factory-iface.c
- channel-factory-iface.h
- channel-group.c
- channel-iface.c
- channel-iface.h
- channel-internal.h
- channel-manager.c
- channel-manager.h
- channel-request.c
- channel-request.h
- channel-request.xml
- channel.c
- channel.h
- channel.xml
- client.c
- client.h
- client.xml
- codegen.am
- connection-avatars.c
- connection-contact-info.c
- connection-handles.c
- connection-internal.h
- connection-manager.c
- connection-manager.h
- connection-manager.xml
- connection.c
- connection.h
- connection.xml
- contact.c
- contact.h
- contacts-mixin.c
- contacts-mixin.h
- dbus-daemon.c
- dbus-daemon.h
- dbus-daemon.xml
- dbus-internal.h
- dbus-introspectable.xml
- dbus-peer.xml
- dbus-properties-mixin.c
- dbus-properties-mixin.h
- dbus-properties.xml
- dbus.c
- dbus.h
- debug-ansi.h
- debug-internal.h
- debug-sender.c
- debug-sender.h
- debug.c
- debug.h
- debug.xml
- defs.h
- enums.h
- errors.c
- errors.h
- exportable-channel.c
- exportable-channel.h
- extra-gtkdoc.h
- generic.xml
- genums.c.template
- genums.h.template
- gnio-util.c
- gnio-util.h
- group-mixin.c
- group-mixin.h
- gtypes.c
- gtypes.h
- handle-channels-context-internal.h
- handle-channels-context.c
- handle-channels-context.h
- handle-repo-dynamic.c
- handle-repo-dynamic.h
- handle-repo-internal.h
- handle-repo-static.c
- handle-repo-static.h
- handle-repo.c
- handle-repo.h
- handle-set.c
- handle.c
- handle.h
- heap.c
- heap.h
- interfaces.c
- interfaces.h
- introspection.am
- intset.c
- intset.h
- kludge-616375.xsl
- Makefile.am
- Makefile.in
- media-interfaces.c
- media-interfaces.h
- media-session-handler.xml
- media-stream-handler.xml
- message-mixin.c
- message-mixin.h
- observe-channels-context-internal.h
- observe-channels-context.c
- observe-channels-context.h
- presence-mixin.c
- presence-mixin.h
- properties-mixin.c
- properties-mixin.h
- protocol-internal.h
- protocol.c
- protocol.h
- protocol.xml
- proxy-internal.h
- proxy-methods.c
- proxy-signals.c
- proxy-subclass.h
- proxy.c
- proxy.h
- run.c
- run.h
- signals-marshal.list
- simple-approver.c
- simple-approver.h
- simple-handler.c
- simple-handler.h
- simple-observer.c
- simple-observer.h
- stable-interfaces.xml
- svc-account-manager.h
- svc-account.h
- svc-channel-dispatch-operation.h
- svc-channel-dispatcher.h
- svc-channel-request.h
- svc-channel.h
- svc-client.h
- svc-connection-manager.h
- svc-connection.h
- svc-debug.h
- svc-generic.h
- svc-media-interfaces.h
- svc-properties-interface.h
- svc-protocol.h
- telepathy-glib-uninstalled.pc.in
- telepathy-glib.h
- telepathy-glib.pc.in
- text-mixin.c
- text-mixin.h
- util-internal.h
- util.c
- util.h
- verify.h
connection-internal.h @debian/0.11.11-1 — raw · history · blame
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | /* * TpConnection - proxy for a Telepathy connection (internals) * * Copyright (C) 2008 Collabora Ltd. <http://www.collabora.co.uk/> * Copyright (C) 2008 Nokia Corporation * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef TP_CONNECTION_INTERNAL_H #define TP_CONNECTION_INTERNAL_H #include <telepathy-glib/capabilities.h> #include <telepathy-glib/connection.h> #include <telepathy-glib/contact.h> G_BEGIN_DECLS typedef void (*TpConnectionProc) (TpConnection *self); struct _TpConnectionPrivate { /* list of TpConnectionProc */ GList *introspect_needed; TpHandle self_handle; TpConnectionStatus status; TpConnectionStatusReason status_reason; gchar *connection_error; /* a TP_HASH_TYPE_STRING_VARIANT_MAP */ GHashTable *connection_error_details; /* GArray of GQuark */ GArray *contact_attribute_interfaces; /* TpHandle => weak ref to TpContact */ GHashTable *contacts; TpCapabilities *capabilities; TpAvatarRequirements *avatar_requirements; GArray *avatar_request_queue; guint avatar_request_idle_id; TpContactInfoFlags contact_info_flags; GList *contact_info_supported_fields; TpProxyPendingCall *introspection_call; unsigned fetching_rcc:1; unsigned fetching_avatar_requirements:1; unsigned contact_info_fetched:1; unsigned ready:1; unsigned tracking_aliases_changed:1; unsigned tracking_avatar_updated:1; unsigned tracking_avatar_retrieved:1; unsigned tracking_presences_changed:1; unsigned tracking_presence_update:1; unsigned tracking_location_changed:1; unsigned tracking_contact_caps_changed:1; unsigned tracking_contact_info_changed:1; unsigned introspecting_after_connected:1; }; void _tp_connection_status_reason_to_gerror (TpConnectionStatusReason reason, TpConnectionStatus prev_status, const gchar **ret_str, GError **error); void _tp_connection_init_handle_refs (TpConnection *self); void _tp_connection_clean_up_handle_refs (TpConnection *self); void _tp_connection_add_contact (TpConnection *self, TpHandle handle, TpContact *contact); void _tp_connection_remove_contact (TpConnection *self, TpHandle handle, TpContact *contact); TpContact *_tp_connection_lookup_contact (TpConnection *self, TpHandle handle); /* Actually implemented in contact.c, but having a contact-internal header * just for this would be overkill */ void _tp_contact_connection_invalidated (TpContact *contact); /* connection-contact-info.c */ void _tp_connection_maybe_prepare_contact_info (TpProxy *proxy); TpContactInfoFieldSpec *_tp_contact_info_field_spec_new (const gchar *name, GStrv parameters, TpContactInfoFieldFlags flags, guint max); /* connection-avatars.c */ void _tp_connection_maybe_prepare_avatar_requirements (TpProxy *proxy); G_END_DECLS #endif |