Service-side Connection interfaces

Service-side Connection interfaces — GInterfaces for Telepathy Connection objects

Synopsis


#include <telepathy-glib/svc-connection.h>


                    TpSvcConnection;
                    TpSvcConnectionClass;
void                (*tp_svc_connection_connect_impl)   (TpSvcConnection *self,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_implement_connect (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_connect_impl impl);
void                tp_svc_connection_return_from_connect
                                                        (DBusGMethodInvocation *dbus_context);
void                (*tp_svc_connection_disconnect_impl)
                                                        (TpSvcConnection *self,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_implement_disconnect
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_disconnect_impl impl);
void                tp_svc_connection_return_from_disconnect
                                                        (DBusGMethodInvocation *dbus_context);
void                (*tp_svc_connection_get_interfaces_impl)
                                                        (TpSvcConnection *self,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_implement_get_interfaces
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_get_interfaces_impl impl);
void                tp_svc_connection_return_from_get_interfaces
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const gchar **ret);
void                (*tp_svc_connection_get_protocol_impl)
                                                        (TpSvcConnection *self,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_implement_get_protocol
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_get_protocol_impl impl);
void                tp_svc_connection_return_from_get_protocol
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const gchar *ret);
void                (*tp_svc_connection_get_self_handle_impl)
                                                        (TpSvcConnection *self,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_implement_get_self_handle
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_get_self_handle_impl impl);
void                tp_svc_connection_return_from_get_self_handle
                                                        (DBusGMethodInvocation *dbus_context,
                                                         guint ret);
void                (*tp_svc_connection_get_status_impl)
                                                        (TpSvcConnection *self,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_implement_get_status
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_get_status_impl impl);
void                tp_svc_connection_return_from_get_status
                                                        (DBusGMethodInvocation *dbus_context,
                                                         guint ret);
void                (*tp_svc_connection_hold_handles_impl)
                                                        (TpSvcConnection *self,
                                                         guint handle_type,
                                                         const GArray *handles,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_implement_hold_handles
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_hold_handles_impl impl);
void                tp_svc_connection_return_from_hold_handles
                                                        (DBusGMethodInvocation *dbus_context);
void                (*tp_svc_connection_inspect_handles_impl)
                                                        (TpSvcConnection *self,
                                                         guint handle_type,
                                                         const GArray *handles,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_implement_inspect_handles
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_inspect_handles_impl impl);
void                tp_svc_connection_return_from_inspect_handles
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const gchar **ret);
void                (*tp_svc_connection_list_channels_impl)
                                                        (TpSvcConnection *self,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_implement_list_channels
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_list_channels_impl impl);
void                tp_svc_connection_return_from_list_channels
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const GPtrArray *ret);
void                (*tp_svc_connection_release_handles_impl)
                                                        (TpSvcConnection *self,
                                                         guint handle_type,
                                                         const GArray *handles,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_implement_release_handles
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_release_handles_impl impl);
void                tp_svc_connection_return_from_release_handles
                                                        (DBusGMethodInvocation *dbus_context);
void                (*tp_svc_connection_request_channel_impl)
                                                        (TpSvcConnection *self,
                                                         const gchar *type,
                                                         guint handle_type,
                                                         guint handle,
                                                         gboolean suppress_handler,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_implement_request_channel
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_request_channel_impl impl);
void                tp_svc_connection_return_from_request_channel
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const gchar *ret);
void                (*tp_svc_connection_request_handles_impl)
                                                        (TpSvcConnection *self,
                                                         guint handle_type,
                                                         const gchar **names,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_implement_request_handles
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_request_handles_impl impl);
void                tp_svc_connection_return_from_request_handles
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const GArray *ret);
void                tp_svc_connection_emit_new_channel  (gpointer instance,
                                                         const gchar *object_path,
                                                         const gchar *channel_type,
                                                         const guint handle_type,
                                                         const guint handle,
                                                         const gboolean suppress_handler);
void                tp_svc_connection_emit_status_changed
                                                        (gpointer instance,
                                                         const guint status,
                                                         const guint reason);


                    TpSvcConnectionInterfacePresence;
                    TpSvcConnectionInterfacePresenceClass;
void                (*tp_svc_connection_interface_presence_add_status_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         const gchar *status,
                                                         GHashTable *parms,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_presence_implement_add_status
                                                        (TpSvcConnectionInterfacePresenceClass *klass,
                                                         tp_svc_connection_interface_presence_add_status_impl impl);
void                tp_svc_connection_interface_presence_return_from_add_status
                                                        (DBusGMethodInvocation *dbus_context);
void                (*tp_svc_connection_interface_presence_clear_status_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_presence_implement_clear_status
                                                        (TpSvcConnectionInterfacePresenceClass *klass,
                                                         tp_svc_connection_interface_presence_clear_status_impl impl);
void                tp_svc_connection_interface_presence_return_from_clear_status
                                                        (DBusGMethodInvocation *dbus_context);
void                (*tp_svc_connection_interface_presence_get_presence_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         const GArray *contacts,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_presence_implement_get_presence
                                                        (TpSvcConnectionInterfacePresenceClass *klass,
                                                         tp_svc_connection_interface_presence_get_presence_impl impl);
void                tp_svc_connection_interface_presence_return_from_get_presence
                                                        (DBusGMethodInvocation *dbus_context,
                                                         GHashTable *presence);
void                (*tp_svc_connection_interface_presence_get_statuses_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_presence_implement_get_statuses
                                                        (TpSvcConnectionInterfacePresenceClass *klass,
                                                         tp_svc_connection_interface_presence_get_statuses_impl impl);
void                tp_svc_connection_interface_presence_return_from_get_statuses
                                                        (DBusGMethodInvocation *dbus_context,
                                                         GHashTable *ret);
void                (*tp_svc_connection_interface_presence_remove_status_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         const gchar *status,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_presence_implement_remove_status
                                                        (TpSvcConnectionInterfacePresenceClass *klass,
                                                         tp_svc_connection_interface_presence_remove_status_impl impl);
void                tp_svc_connection_interface_presence_return_from_remove_status
                                                        (DBusGMethodInvocation *dbus_context);
void                (*tp_svc_connection_interface_presence_request_presence_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         const GArray *contacts,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_presence_implement_request_presence
                                                        (TpSvcConnectionInterfacePresenceClass *klass,
                                                         tp_svc_connection_interface_presence_request_presence_impl impl);
void                tp_svc_connection_interface_presence_return_from_request_presence
                                                        (DBusGMethodInvocation *dbus_context);
void                (*tp_svc_connection_interface_presence_set_last_activity_time_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         guint time,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_presence_implement_set_last_activity_time
                                                        (TpSvcConnectionInterfacePresenceClass *klass,
                                                         tp_svc_connection_interface_presence_set_last_activity_time_impl impl);
void                tp_svc_connection_interface_presence_return_from_set_last_activity_time
                                                        (DBusGMethodInvocation *dbus_context);
void                (*tp_svc_connection_interface_presence_set_status_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         GHashTable *statuses,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_presence_implement_set_status
                                                        (TpSvcConnectionInterfacePresenceClass *klass,
                                                         tp_svc_connection_interface_presence_set_status_impl impl);
void                tp_svc_connection_interface_presence_return_from_set_status
                                                        (DBusGMethodInvocation *dbus_context);
void                tp_svc_connection_interface_presence_emit_presence_update
                                                        (gpointer instance,
                                                         const GHashTable *presence);


                    TpSvcConnectionInterfaceAvatars;
                    TpSvcConnectionInterfaceAvatarsClass;
void                (*tp_svc_connection_interface_avatars_clear_avatar_impl)
                                                        (TpSvcConnectionInterfaceAvatars *self,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_avatars_implement_clear_avatar
                                                        (TpSvcConnectionInterfaceAvatarsClass *klass,
                                                         tp_svc_connection_interface_avatars_clear_avatar_impl impl);
void                tp_svc_connection_interface_avatars_return_from_clear_avatar
                                                        (DBusGMethodInvocation *dbus_context);
void                (*tp_svc_connection_interface_avatars_get_avatar_requirements_impl)
                                                        (TpSvcConnectionInterfaceAvatars *self,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_avatars_implement_get_avatar_requirements
                                                        (TpSvcConnectionInterfaceAvatarsClass *klass,
                                                         tp_svc_connection_interface_avatars_get_avatar_requirements_impl impl);
void                tp_svc_connection_interface_avatars_return_from_get_avatar_requirements
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const gchar **ret,
                                                         guint ret1,
                                                         guint ret2,
                                                         guint ret3,
                                                         guint ret4,
                                                         guint ret5);
void                (*tp_svc_connection_interface_avatars_get_avatar_tokens_impl)
                                                        (TpSvcConnectionInterfaceAvatars *self,
                                                         const GArray *contacts,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_avatars_implement_get_avatar_tokens
                                                        (TpSvcConnectionInterfaceAvatarsClass *klass,
                                                         tp_svc_connection_interface_avatars_get_avatar_tokens_impl impl);
void                tp_svc_connection_interface_avatars_return_from_get_avatar_tokens
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const gchar **ret);
void                (*tp_svc_connection_interface_avatars_request_avatar_impl)
                                                        (TpSvcConnectionInterfaceAvatars *self,
                                                         guint contact,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_avatars_implement_request_avatar
                                                        (TpSvcConnectionInterfaceAvatarsClass *klass,
                                                         tp_svc_connection_interface_avatars_request_avatar_impl impl);
void                tp_svc_connection_interface_avatars_return_from_request_avatar
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const GArray *ret,
                                                         const gchar *ret1);
void                (*tp_svc_connection_interface_avatars_set_avatar_impl)
                                                        (TpSvcConnectionInterfaceAvatars *self,
                                                         const GArray *avatar,
                                                         const gchar *mime_type,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_avatars_implement_set_avatar
                                                        (TpSvcConnectionInterfaceAvatarsClass *klass,
                                                         tp_svc_connection_interface_avatars_set_avatar_impl impl);
void                tp_svc_connection_interface_avatars_return_from_set_avatar
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const gchar *ret);
void                tp_svc_connection_interface_avatars_emit_avatar_updated
                                                        (gpointer instance,
                                                         const guint contact,
                                                         const gchar *new_avatar_token);


                    TpSvcConnectionInterfaceAliasing;
                    TpSvcConnectionInterfaceAliasingClass;
void                (*tp_svc_connection_interface_aliasing_get_alias_flags_impl)
                                                        (TpSvcConnectionInterfaceAliasing *self,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_aliasing_implement_get_alias_flags
                                                        (TpSvcConnectionInterfaceAliasingClass *klass,
                                                         tp_svc_connection_interface_aliasing_get_alias_flags_impl impl);
void                tp_svc_connection_interface_aliasing_return_from_get_alias_flags
                                                        (DBusGMethodInvocation *dbus_context,
                                                         guint ret);
void                (*tp_svc_connection_interface_aliasing_request_aliases_impl)
                                                        (TpSvcConnectionInterfaceAliasing *self,
                                                         const GArray *contacts,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_aliasing_implement_request_aliases
                                                        (TpSvcConnectionInterfaceAliasingClass *klass,
                                                         tp_svc_connection_interface_aliasing_request_aliases_impl impl);
void                tp_svc_connection_interface_aliasing_return_from_request_aliases
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const gchar **ret);
void                (*tp_svc_connection_interface_aliasing_set_aliases_impl)
                                                        (TpSvcConnectionInterfaceAliasing *self,
                                                         GHashTable *aliases,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_aliasing_implement_set_aliases
                                                        (TpSvcConnectionInterfaceAliasingClass *klass,
                                                         tp_svc_connection_interface_aliasing_set_aliases_impl impl);
void                tp_svc_connection_interface_aliasing_return_from_set_aliases
                                                        (DBusGMethodInvocation *dbus_context);
void                tp_svc_connection_interface_aliasing_emit_aliases_changed
                                                        (gpointer instance,
                                                         const GPtrArray *aliases);


                    TpSvcConnectionInterfaceCapabilities;
                    TpSvcConnectionInterfaceCapabilitiesClass;
void                (*tp_svc_connection_interface_capabilities_advertise_capabilities_impl)
                                                        (TpSvcConnectionInterfaceCapabilities *self,
                                                         const GPtrArray *add,
                                                         const gchar **remove,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_capabilities_implement_advertise_capabilities
                                                        (TpSvcConnectionInterfaceCapabilitiesClass *klass,
                                                         tp_svc_connection_interface_capabilities_advertise_capabilities_impl impl);
void                tp_svc_connection_interface_capabilities_return_from_advertise_capabilities
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const GPtrArray *ret);
void                (*tp_svc_connection_interface_capabilities_get_capabilities_impl)
                                                        (TpSvcConnectionInterfaceCapabilities *self,
                                                         const GArray *handles,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_capabilities_implement_get_capabilities
                                                        (TpSvcConnectionInterfaceCapabilitiesClass *klass,
                                                         tp_svc_connection_interface_capabilities_get_capabilities_impl impl);
void                tp_svc_connection_interface_capabilities_return_from_get_capabilities
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const GPtrArray *ret);
void                tp_svc_connection_interface_capabilities_emit_capabilities_changed
                                                        (gpointer instance,
                                                         const GPtrArray *caps);


Object Hierarchy


  GInterface
   +----TpSvcConnection

Known Implementations

TpSvcConnection is implemented by TpBaseConnection.

Description

These interfaces (auto-generated from the Telepathy spec) make it easier to export objects implementing the Telepathy Connection and its optional interfaces, with the correct method and signal signatures, and emit signals from those objects in a type-safe way.

Details

TpSvcConnection

typedef struct _TpSvcConnection TpSvcConnection;

Dummy typedef representing any implementation of this interface.


TpSvcConnectionClass

typedef struct _TpSvcConnectionClass TpSvcConnectionClass;

The class of TpSvcConnection.


tp_svc_connection_connect_impl ()

void                (*tp_svc_connection_connect_impl)   (TpSvcConnection *self,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method Connect on interface org.freedesktop.Telepathy.Connection

self : The object implementing this interface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_implement_connect ()

void                tp_svc_connection_implement_connect (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_connect_impl impl);

Register an implementation for the Connect method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the Connect method

tp_svc_connection_return_from_connect ()

void                tp_svc_connection_return_from_connect
                                                        (DBusGMethodInvocation *dbus_context);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context

tp_svc_connection_disconnect_impl ()

void                (*tp_svc_connection_disconnect_impl)
                                                        (TpSvcConnection *self,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method Disconnect on interface org.freedesktop.Telepathy.Connection

self : The object implementing this interface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_implement_disconnect ()

void                tp_svc_connection_implement_disconnect
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_disconnect_impl impl);

Register an implementation for the Disconnect method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the Disconnect method

tp_svc_connection_return_from_disconnect ()

void                tp_svc_connection_return_from_disconnect
                                                        (DBusGMethodInvocation *dbus_context);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context

tp_svc_connection_get_interfaces_impl ()

void                (*tp_svc_connection_get_interfaces_impl)
                                                        (TpSvcConnection *self,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method GetInterfaces on interface org.freedesktop.Telepathy.Connection

self : The object implementing this interface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_implement_get_interfaces ()

void                tp_svc_connection_implement_get_interfaces
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_get_interfaces_impl impl);

Register an implementation for the GetInterfaces method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the GetInterfaces method

tp_svc_connection_return_from_get_interfaces ()

void                tp_svc_connection_return_from_get_interfaces
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const gchar **ret);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
ret : FIXME: document args in genginterface

tp_svc_connection_get_protocol_impl ()

void                (*tp_svc_connection_get_protocol_impl)
                                                        (TpSvcConnection *self,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method GetProtocol on interface org.freedesktop.Telepathy.Connection

self : The object implementing this interface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_implement_get_protocol ()

void                tp_svc_connection_implement_get_protocol
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_get_protocol_impl impl);

Register an implementation for the GetProtocol method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the GetProtocol method

tp_svc_connection_return_from_get_protocol ()

void                tp_svc_connection_return_from_get_protocol
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const gchar *ret);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
ret : FIXME: document args in genginterface

tp_svc_connection_get_self_handle_impl ()

void                (*tp_svc_connection_get_self_handle_impl)
                                                        (TpSvcConnection *self,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method GetSelfHandle on interface org.freedesktop.Telepathy.Connection

self : The object implementing this interface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_implement_get_self_handle ()

void                tp_svc_connection_implement_get_self_handle
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_get_self_handle_impl impl);

Register an implementation for the GetSelfHandle method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the GetSelfHandle method

tp_svc_connection_return_from_get_self_handle ()

void                tp_svc_connection_return_from_get_self_handle
                                                        (DBusGMethodInvocation *dbus_context,
                                                         guint ret);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
ret : FIXME: document args in genginterface

tp_svc_connection_get_status_impl ()

void                (*tp_svc_connection_get_status_impl)
                                                        (TpSvcConnection *self,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method GetStatus on interface org.freedesktop.Telepathy.Connection

self : The object implementing this interface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_implement_get_status ()

void                tp_svc_connection_implement_get_status
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_get_status_impl impl);

Register an implementation for the GetStatus method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the GetStatus method

tp_svc_connection_return_from_get_status ()

void                tp_svc_connection_return_from_get_status
                                                        (DBusGMethodInvocation *dbus_context,
                                                         guint ret);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
ret : FIXME: document args in genginterface

tp_svc_connection_hold_handles_impl ()

void                (*tp_svc_connection_hold_handles_impl)
                                                        (TpSvcConnection *self,
                                                         guint handle_type,
                                                         const GArray *handles,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method HoldHandles on interface org.freedesktop.Telepathy.Connection

self : The object implementing this interface
handle_type : FIXME: document args in genginterface
handles : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_implement_hold_handles ()

void                tp_svc_connection_implement_hold_handles
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_hold_handles_impl impl);

Register an implementation for the HoldHandles method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the HoldHandles method

tp_svc_connection_return_from_hold_handles ()

void                tp_svc_connection_return_from_hold_handles
                                                        (DBusGMethodInvocation *dbus_context);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context

tp_svc_connection_inspect_handles_impl ()

void                (*tp_svc_connection_inspect_handles_impl)
                                                        (TpSvcConnection *self,
                                                         guint handle_type,
                                                         const GArray *handles,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method InspectHandles on interface org.freedesktop.Telepathy.Connection

self : The object implementing this interface
handle_type : FIXME: document args in genginterface
handles : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_implement_inspect_handles ()

void                tp_svc_connection_implement_inspect_handles
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_inspect_handles_impl impl);

Register an implementation for the InspectHandles method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the InspectHandles method

tp_svc_connection_return_from_inspect_handles ()

void                tp_svc_connection_return_from_inspect_handles
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const gchar **ret);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
ret : FIXME: document args in genginterface

tp_svc_connection_list_channels_impl ()

void                (*tp_svc_connection_list_channels_impl)
                                                        (TpSvcConnection *self,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method ListChannels on interface org.freedesktop.Telepathy.Connection

self : The object implementing this interface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_implement_list_channels ()

void                tp_svc_connection_implement_list_channels
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_list_channels_impl impl);

Register an implementation for the ListChannels method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the ListChannels method

tp_svc_connection_return_from_list_channels ()

void                tp_svc_connection_return_from_list_channels
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const GPtrArray *ret);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
ret : FIXME: document args in genginterface

tp_svc_connection_release_handles_impl ()

void                (*tp_svc_connection_release_handles_impl)
                                                        (TpSvcConnection *self,
                                                         guint handle_type,
                                                         const GArray *handles,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method ReleaseHandles on interface org.freedesktop.Telepathy.Connection

self : The object implementing this interface
handle_type : FIXME: document args in genginterface
handles : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_implement_release_handles ()

void                tp_svc_connection_implement_release_handles
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_release_handles_impl impl);

Register an implementation for the ReleaseHandles method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the ReleaseHandles method

tp_svc_connection_return_from_release_handles ()

void                tp_svc_connection_return_from_release_handles
                                                        (DBusGMethodInvocation *dbus_context);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context

tp_svc_connection_request_channel_impl ()

void                (*tp_svc_connection_request_channel_impl)
                                                        (TpSvcConnection *self,
                                                         const gchar *type,
                                                         guint handle_type,
                                                         guint handle,
                                                         gboolean suppress_handler,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method RequestChannel on interface org.freedesktop.Telepathy.Connection

self : The object implementing this interface
type : FIXME: document args in genginterface
handle_type : FIXME: document args in genginterface
handle : FIXME: document args in genginterface
suppress_handler : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_implement_request_channel ()

void                tp_svc_connection_implement_request_channel
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_request_channel_impl impl);

Register an implementation for the RequestChannel method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the RequestChannel method

tp_svc_connection_return_from_request_channel ()

void                tp_svc_connection_return_from_request_channel
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const gchar *ret);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
ret : FIXME: document args in genginterface

tp_svc_connection_request_handles_impl ()

void                (*tp_svc_connection_request_handles_impl)
                                                        (TpSvcConnection *self,
                                                         guint handle_type,
                                                         const gchar **names,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method RequestHandles on interface org.freedesktop.Telepathy.Connection

self : The object implementing this interface
handle_type : FIXME: document args in genginterface
names : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_implement_request_handles ()

void                tp_svc_connection_implement_request_handles
                                                        (TpSvcConnectionClass *klass,
                                                         tp_svc_connection_request_handles_impl impl);

Register an implementation for the RequestHandles method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the RequestHandles method

tp_svc_connection_return_from_request_handles ()

void                tp_svc_connection_return_from_request_handles
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const GArray *ret);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
ret : FIXME: document args in genginterface

tp_svc_connection_emit_new_channel ()

void                tp_svc_connection_emit_new_channel  (gpointer instance,
                                                         const gchar *object_path,
                                                         const gchar *channel_type,
                                                         const guint handle_type,
                                                         const guint handle,
                                                         const gboolean suppress_handler);

Emit the NewChannel D-Bus signal from instance with the given arguments.

instance : An object implementing this interface
object_path : FIXME: document args in genginterface
channel_type : FIXME: document args in genginterface
handle_type : FIXME: document args in genginterface
handle : FIXME: document args in genginterface
suppress_handler : FIXME: document args in genginterface

tp_svc_connection_emit_status_changed ()

void                tp_svc_connection_emit_status_changed
                                                        (gpointer instance,
                                                         const guint status,
                                                         const guint reason);

Emit the StatusChanged D-Bus signal from instance with the given arguments.

instance : An object implementing this interface
status : FIXME: document args in genginterface
reason : FIXME: document args in genginterface

TpSvcConnectionInterfacePresence

typedef struct _TpSvcConnectionInterfacePresence TpSvcConnectionInterfacePresence;

Dummy typedef representing any implementation of this interface.


TpSvcConnectionInterfacePresenceClass

typedef struct _TpSvcConnectionInterfacePresenceClass TpSvcConnectionInterfacePresenceClass;

The class of TpSvcConnectionInterfacePresence.


tp_svc_connection_interface_presence_add_status_impl ()

void                (*tp_svc_connection_interface_presence_add_status_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         const gchar *status,
                                                         GHashTable *parms,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method AddStatus on interface org.freedesktop.Telepathy.Connection.Interface.Presence

self : The object implementing this interface
status : FIXME: document args in genginterface
parms : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_presence_implement_add_status ()

void                tp_svc_connection_interface_presence_implement_add_status
                                                        (TpSvcConnectionInterfacePresenceClass *klass,
                                                         tp_svc_connection_interface_presence_add_status_impl impl);

Register an implementation for the AddStatus method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the AddStatus method

tp_svc_connection_interface_presence_return_from_add_status ()

void                tp_svc_connection_interface_presence_return_from_add_status
                                                        (DBusGMethodInvocation *dbus_context);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context

tp_svc_connection_interface_presence_clear_status_impl ()

void                (*tp_svc_connection_interface_presence_clear_status_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method ClearStatus on interface org.freedesktop.Telepathy.Connection.Interface.Presence

self : The object implementing this interface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_presence_implement_clear_status ()

void                tp_svc_connection_interface_presence_implement_clear_status
                                                        (TpSvcConnectionInterfacePresenceClass *klass,
                                                         tp_svc_connection_interface_presence_clear_status_impl impl);

Register an implementation for the ClearStatus method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the ClearStatus method

tp_svc_connection_interface_presence_return_from_clear_status ()

void                tp_svc_connection_interface_presence_return_from_clear_status
                                                        (DBusGMethodInvocation *dbus_context);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context

tp_svc_connection_interface_presence_get_presence_impl ()

void                (*tp_svc_connection_interface_presence_get_presence_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         const GArray *contacts,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method GetPresence on interface org.freedesktop.Telepathy.Connection.Interface.Presence

self : The object implementing this interface
contacts : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_presence_implement_get_presence ()

void                tp_svc_connection_interface_presence_implement_get_presence
                                                        (TpSvcConnectionInterfacePresenceClass *klass,
                                                         tp_svc_connection_interface_presence_get_presence_impl impl);

Register an implementation for the GetPresence method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the GetPresence method

tp_svc_connection_interface_presence_return_from_get_presence ()

void                tp_svc_connection_interface_presence_return_from_get_presence
                                                        (DBusGMethodInvocation *dbus_context,
                                                         GHashTable *presence);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
presence : FIXME: document args in genginterface

tp_svc_connection_interface_presence_get_statuses_impl ()

void                (*tp_svc_connection_interface_presence_get_statuses_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method GetStatuses on interface org.freedesktop.Telepathy.Connection.Interface.Presence

self : The object implementing this interface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_presence_implement_get_statuses ()

void                tp_svc_connection_interface_presence_implement_get_statuses
                                                        (TpSvcConnectionInterfacePresenceClass *klass,
                                                         tp_svc_connection_interface_presence_get_statuses_impl impl);

Register an implementation for the GetStatuses method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the GetStatuses method

tp_svc_connection_interface_presence_return_from_get_statuses ()

void                tp_svc_connection_interface_presence_return_from_get_statuses
                                                        (DBusGMethodInvocation *dbus_context,
                                                         GHashTable *ret);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
ret : FIXME: document args in genginterface

tp_svc_connection_interface_presence_remove_status_impl ()

void                (*tp_svc_connection_interface_presence_remove_status_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         const gchar *status,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method RemoveStatus on interface org.freedesktop.Telepathy.Connection.Interface.Presence

self : The object implementing this interface
status : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_presence_implement_remove_status ()

void                tp_svc_connection_interface_presence_implement_remove_status
                                                        (TpSvcConnectionInterfacePresenceClass *klass,
                                                         tp_svc_connection_interface_presence_remove_status_impl impl);

Register an implementation for the RemoveStatus method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the RemoveStatus method

tp_svc_connection_interface_presence_return_from_remove_status ()

void                tp_svc_connection_interface_presence_return_from_remove_status
                                                        (DBusGMethodInvocation *dbus_context);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context

tp_svc_connection_interface_presence_request_presence_impl ()

void                (*tp_svc_connection_interface_presence_request_presence_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         const GArray *contacts,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method RequestPresence on interface org.freedesktop.Telepathy.Connection.Interface.Presence

self : The object implementing this interface
contacts : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_presence_implement_request_presence ()

void                tp_svc_connection_interface_presence_implement_request_presence
                                                        (TpSvcConnectionInterfacePresenceClass *klass,
                                                         tp_svc_connection_interface_presence_request_presence_impl impl);

Register an implementation for the RequestPresence method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the RequestPresence method

tp_svc_connection_interface_presence_return_from_request_presence ()

void                tp_svc_connection_interface_presence_return_from_request_presence
                                                        (DBusGMethodInvocation *dbus_context);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context

tp_svc_connection_interface_presence_set_last_activity_time_impl ()

void                (*tp_svc_connection_interface_presence_set_last_activity_time_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         guint time,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method SetLastActivityTime on interface org.freedesktop.Telepathy.Connection.Interface.Presence

self : The object implementing this interface
time : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_presence_implement_set_last_activity_time ()

void                tp_svc_connection_interface_presence_implement_set_last_activity_time
                                                        (TpSvcConnectionInterfacePresenceClass *klass,
                                                         tp_svc_connection_interface_presence_set_last_activity_time_impl impl);

Register an implementation for the SetLastActivityTime method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the SetLastActivityTime method

tp_svc_connection_interface_presence_return_from_set_last_activity_time ()

void                tp_svc_connection_interface_presence_return_from_set_last_activity_time
                                                        (DBusGMethodInvocation *dbus_context);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context

tp_svc_connection_interface_presence_set_status_impl ()

void                (*tp_svc_connection_interface_presence_set_status_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         GHashTable *statuses,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method SetStatus on interface org.freedesktop.Telepathy.Connection.Interface.Presence

self : The object implementing this interface
statuses : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_presence_implement_set_status ()

void                tp_svc_connection_interface_presence_implement_set_status
                                                        (TpSvcConnectionInterfacePresenceClass *klass,
                                                         tp_svc_connection_interface_presence_set_status_impl impl);

Register an implementation for the SetStatus method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the SetStatus method

tp_svc_connection_interface_presence_return_from_set_status ()

void                tp_svc_connection_interface_presence_return_from_set_status
                                                        (DBusGMethodInvocation *dbus_context);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context

tp_svc_connection_interface_presence_emit_presence_update ()

void                tp_svc_connection_interface_presence_emit_presence_update
                                                        (gpointer instance,
                                                         const GHashTable *presence);

Emit the PresenceUpdate D-Bus signal from instance with the given arguments.

instance : An object implementing this interface
presence : FIXME: document args in genginterface

TpSvcConnectionInterfaceAvatars

typedef struct _TpSvcConnectionInterfaceAvatars TpSvcConnectionInterfaceAvatars;

Dummy typedef representing any implementation of this interface.


TpSvcConnectionInterfaceAvatarsClass

typedef struct _TpSvcConnectionInterfaceAvatarsClass TpSvcConnectionInterfaceAvatarsClass;

The class of TpSvcConnectionInterfaceAvatars.


tp_svc_connection_interface_avatars_clear_avatar_impl ()

void                (*tp_svc_connection_interface_avatars_clear_avatar_impl)
                                                        (TpSvcConnectionInterfaceAvatars *self,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method ClearAvatar on interface org.freedesktop.Telepathy.Connection.Interface.Avatars

self : The object implementing this interface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_avatars_implement_clear_avatar ()

void                tp_svc_connection_interface_avatars_implement_clear_avatar
                                                        (TpSvcConnectionInterfaceAvatarsClass *klass,
                                                         tp_svc_connection_interface_avatars_clear_avatar_impl impl);

Register an implementation for the ClearAvatar method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the ClearAvatar method

tp_svc_connection_interface_avatars_return_from_clear_avatar ()

void                tp_svc_connection_interface_avatars_return_from_clear_avatar
                                                        (DBusGMethodInvocation *dbus_context);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context

tp_svc_connection_interface_avatars_get_avatar_requirements_impl ()

void                (*tp_svc_connection_interface_avatars_get_avatar_requirements_impl)
                                                        (TpSvcConnectionInterfaceAvatars *self,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method GetAvatarRequirements on interface org.freedesktop.Telepathy.Connection.Interface.Avatars

self : The object implementing this interface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_avatars_implement_get_avatar_requirements ()

void                tp_svc_connection_interface_avatars_implement_get_avatar_requirements
                                                        (TpSvcConnectionInterfaceAvatarsClass *klass,
                                                         tp_svc_connection_interface_avatars_get_avatar_requirements_impl impl);

Register an implementation for the GetAvatarRequirements method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the GetAvatarRequirements method

tp_svc_connection_interface_avatars_return_from_get_avatar_requirements ()

void                tp_svc_connection_interface_avatars_return_from_get_avatar_requirements
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const gchar **ret,
                                                         guint ret1,
                                                         guint ret2,
                                                         guint ret3,
                                                         guint ret4,
                                                         guint ret5);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
ret : FIXME: document args in genginterface
ret1 : FIXME: document args in genginterface
ret2 : FIXME: document args in genginterface
ret3 : FIXME: document args in genginterface
ret4 : FIXME: document args in genginterface
ret5 : FIXME: document args in genginterface

tp_svc_connection_interface_avatars_get_avatar_tokens_impl ()

void                (*tp_svc_connection_interface_avatars_get_avatar_tokens_impl)
                                                        (TpSvcConnectionInterfaceAvatars *self,
                                                         const GArray *contacts,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method GetAvatarTokens on interface org.freedesktop.Telepathy.Connection.Interface.Avatars

self : The object implementing this interface
contacts : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_avatars_implement_get_avatar_tokens ()

void                tp_svc_connection_interface_avatars_implement_get_avatar_tokens
                                                        (TpSvcConnectionInterfaceAvatarsClass *klass,
                                                         tp_svc_connection_interface_avatars_get_avatar_tokens_impl impl);

Register an implementation for the GetAvatarTokens method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the GetAvatarTokens method

tp_svc_connection_interface_avatars_return_from_get_avatar_tokens ()

void                tp_svc_connection_interface_avatars_return_from_get_avatar_tokens
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const gchar **ret);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
ret : FIXME: document args in genginterface

tp_svc_connection_interface_avatars_request_avatar_impl ()

void                (*tp_svc_connection_interface_avatars_request_avatar_impl)
                                                        (TpSvcConnectionInterfaceAvatars *self,
                                                         guint contact,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method RequestAvatar on interface org.freedesktop.Telepathy.Connection.Interface.Avatars

self : The object implementing this interface
contact : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_avatars_implement_request_avatar ()

void                tp_svc_connection_interface_avatars_implement_request_avatar
                                                        (TpSvcConnectionInterfaceAvatarsClass *klass,
                                                         tp_svc_connection_interface_avatars_request_avatar_impl impl);

Register an implementation for the RequestAvatar method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the RequestAvatar method

tp_svc_connection_interface_avatars_return_from_request_avatar ()

void                tp_svc_connection_interface_avatars_return_from_request_avatar
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const GArray *ret,
                                                         const gchar *ret1);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
ret : FIXME: document args in genginterface
ret1 : FIXME: document args in genginterface

tp_svc_connection_interface_avatars_set_avatar_impl ()

void                (*tp_svc_connection_interface_avatars_set_avatar_impl)
                                                        (TpSvcConnectionInterfaceAvatars *self,
                                                         const GArray *avatar,
                                                         const gchar *mime_type,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method SetAvatar on interface org.freedesktop.Telepathy.Connection.Interface.Avatars

self : The object implementing this interface
avatar : FIXME: document args in genginterface
mime_type : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_avatars_implement_set_avatar ()

void                tp_svc_connection_interface_avatars_implement_set_avatar
                                                        (TpSvcConnectionInterfaceAvatarsClass *klass,
                                                         tp_svc_connection_interface_avatars_set_avatar_impl impl);

Register an implementation for the SetAvatar method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the SetAvatar method

tp_svc_connection_interface_avatars_return_from_set_avatar ()

void                tp_svc_connection_interface_avatars_return_from_set_avatar
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const gchar *ret);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
ret : FIXME: document args in genginterface

tp_svc_connection_interface_avatars_emit_avatar_updated ()

void                tp_svc_connection_interface_avatars_emit_avatar_updated
                                                        (gpointer instance,
                                                         const guint contact,
                                                         const gchar *new_avatar_token);

Emit the AvatarUpdated D-Bus signal from instance with the given arguments.

instance : An object implementing this interface
contact : FIXME: document args in genginterface
new_avatar_token : FIXME: document args in genginterface

TpSvcConnectionInterfaceAliasing

typedef struct _TpSvcConnectionInterfaceAliasing TpSvcConnectionInterfaceAliasing;

Dummy typedef representing any implementation of this interface.


TpSvcConnectionInterfaceAliasingClass

typedef struct _TpSvcConnectionInterfaceAliasingClass TpSvcConnectionInterfaceAliasingClass;

The class of TpSvcConnectionInterfaceAliasing.


tp_svc_connection_interface_aliasing_get_alias_flags_impl ()

void                (*tp_svc_connection_interface_aliasing_get_alias_flags_impl)
                                                        (TpSvcConnectionInterfaceAliasing *self,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method GetAliasFlags on interface org.freedesktop.Telepathy.Connection.Interface.Aliasing

self : The object implementing this interface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_aliasing_implement_get_alias_flags ()

void                tp_svc_connection_interface_aliasing_implement_get_alias_flags
                                                        (TpSvcConnectionInterfaceAliasingClass *klass,
                                                         tp_svc_connection_interface_aliasing_get_alias_flags_impl impl);

Register an implementation for the GetAliasFlags method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the GetAliasFlags method

tp_svc_connection_interface_aliasing_return_from_get_alias_flags ()

void                tp_svc_connection_interface_aliasing_return_from_get_alias_flags
                                                        (DBusGMethodInvocation *dbus_context,
                                                         guint ret);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
ret : FIXME: document args in genginterface

tp_svc_connection_interface_aliasing_request_aliases_impl ()

void                (*tp_svc_connection_interface_aliasing_request_aliases_impl)
                                                        (TpSvcConnectionInterfaceAliasing *self,
                                                         const GArray *contacts,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method RequestAliases on interface org.freedesktop.Telepathy.Connection.Interface.Aliasing

self : The object implementing this interface
contacts : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_aliasing_implement_request_aliases ()

void                tp_svc_connection_interface_aliasing_implement_request_aliases
                                                        (TpSvcConnectionInterfaceAliasingClass *klass,
                                                         tp_svc_connection_interface_aliasing_request_aliases_impl impl);

Register an implementation for the RequestAliases method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the RequestAliases method

tp_svc_connection_interface_aliasing_return_from_request_aliases ()

void                tp_svc_connection_interface_aliasing_return_from_request_aliases
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const gchar **ret);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
ret : FIXME: document args in genginterface

tp_svc_connection_interface_aliasing_set_aliases_impl ()

void                (*tp_svc_connection_interface_aliasing_set_aliases_impl)
                                                        (TpSvcConnectionInterfaceAliasing *self,
                                                         GHashTable *aliases,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method SetAliases on interface org.freedesktop.Telepathy.Connection.Interface.Aliasing

self : The object implementing this interface
aliases : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_aliasing_implement_set_aliases ()

void                tp_svc_connection_interface_aliasing_implement_set_aliases
                                                        (TpSvcConnectionInterfaceAliasingClass *klass,
                                                         tp_svc_connection_interface_aliasing_set_aliases_impl impl);

Register an implementation for the SetAliases method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the SetAliases method

tp_svc_connection_interface_aliasing_return_from_set_aliases ()

void                tp_svc_connection_interface_aliasing_return_from_set_aliases
                                                        (DBusGMethodInvocation *dbus_context);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context

tp_svc_connection_interface_aliasing_emit_aliases_changed ()

void                tp_svc_connection_interface_aliasing_emit_aliases_changed
                                                        (gpointer instance,
                                                         const GPtrArray *aliases);

Emit the AliasesChanged D-Bus signal from instance with the given arguments.

instance : An object implementing this interface
aliases : FIXME: document args in genginterface

TpSvcConnectionInterfaceCapabilities

typedef struct _TpSvcConnectionInterfaceCapabilities TpSvcConnectionInterfaceCapabilities;

Dummy typedef representing any implementation of this interface.


TpSvcConnectionInterfaceCapabilitiesClass

typedef struct _TpSvcConnectionInterfaceCapabilitiesClass TpSvcConnectionInterfaceCapabilitiesClass;

The class of TpSvcConnectionInterfaceCapabilities.


tp_svc_connection_interface_capabilities_advertise_capabilities_impl ()

void                (*tp_svc_connection_interface_capabilities_advertise_capabilities_impl)
                                                        (TpSvcConnectionInterfaceCapabilities *self,
                                                         const GPtrArray *add,
                                                         const gchar **remove,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method AdvertiseCapabilities on interface org.freedesktop.Telepathy.Connection.Interface.Capabilities

self : The object implementing this interface
add : FIXME: document args in genginterface
remove : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_capabilities_implement_advertise_capabilities ()

void                tp_svc_connection_interface_capabilities_implement_advertise_capabilities
                                                        (TpSvcConnectionInterfaceCapabilitiesClass *klass,
                                                         tp_svc_connection_interface_capabilities_advertise_capabilities_impl impl);

Register an implementation for the AdvertiseCapabilities method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the AdvertiseCapabilities method

tp_svc_connection_interface_capabilities_return_from_advertise_capabilities ()

void                tp_svc_connection_interface_capabilities_return_from_advertise_capabilities
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const GPtrArray *ret);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
ret : FIXME: document args in genginterface

tp_svc_connection_interface_capabilities_get_capabilities_impl ()

void                (*tp_svc_connection_interface_capabilities_get_capabilities_impl)
                                                        (TpSvcConnectionInterfaceCapabilities *self,
                                                         const GArray *handles,
                                                         DBusGMethodInvocation *context);

Signature of an implementation of D-Bus method GetCapabilities on interface org.freedesktop.Telepathy.Connection.Interface.Capabilities

self : The object implementing this interface
handles : FIXME: document args in genginterface
context : The D-Bus invocation context to use to return values or throw an error.

tp_svc_connection_interface_capabilities_implement_get_capabilities ()

void                tp_svc_connection_interface_capabilities_implement_get_capabilities
                                                        (TpSvcConnectionInterfaceCapabilitiesClass *klass,
                                                         tp_svc_connection_interface_capabilities_get_capabilities_impl impl);

Register an implementation for the GetCapabilities method in the vtable of an implementation of this interface. To be called from the interface init function.

klass : A class whose instances implement this interface
impl : A callback used to implement the GetCapabilities method

tp_svc_connection_interface_capabilities_return_from_get_capabilities ()

void                tp_svc_connection_interface_capabilities_return_from_get_capabilities
                                                        (DBusGMethodInvocation *dbus_context,
                                                         const GPtrArray *ret);

Return successfully by calling dbus_g_method_return (dbus_context, ...). This inline function is just a type-safe wrapper for dbus_g_method_return.

dbus_context : The D-Bus method invocation context
ret : FIXME: document args in genginterface

tp_svc_connection_interface_capabilities_emit_capabilities_changed ()

void                tp_svc_connection_interface_capabilities_emit_capabilities_changed
                                                        (gpointer instance,
                                                         const GPtrArray *caps);

Emit the CapabilitiesChanged D-Bus signal from instance with the given arguments.

instance : An object implementing this interface
caps : FIXME: document args in genginterface

See Also

TpBaseConnection