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 *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 *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 *context,
                                                         const gchar **out0);
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 *context,
                                                         const gchar *out0);
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 *context,
                                                         guint out0);
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 *context,
                                                         guint out0);
void                (*tp_svc_connection_hold_handles_impl)
                                                        (TpSvcConnection *self,
                                                         guint in_handle_type,
                                                         const GArray *in_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 *context);
void                (*tp_svc_connection_inspect_handles_impl)
                                                        (TpSvcConnection *self,
                                                         guint in_handle_type,
                                                         const GArray *in_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 *context,
                                                         const gchar **out0);
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 *context,
                                                         const GPtrArray *out0);
void                (*tp_svc_connection_release_handles_impl)
                                                        (TpSvcConnection *self,
                                                         guint in_handle_type,
                                                         const GArray *in_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 *context);
void                (*tp_svc_connection_request_channel_impl)
                                                        (TpSvcConnection *self,
                                                         const gchar *in_type,
                                                         guint in_handle_type,
                                                         guint in_handle,
                                                         gboolean in_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 *context,
                                                         const gchar *out0);
void                (*tp_svc_connection_request_handles_impl)
                                                        (TpSvcConnection *self,
                                                         guint in_handle_type,
                                                         const gchar **in_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 *context,
                                                         const GArray *out0);
void                tp_svc_connection_emit_new_channel  (gpointer instance,
                                                         const gchar *arg_object_path,
                                                         const gchar *arg_channel_type,
                                                         guint arg_handle_type,
                                                         guint arg_handle,
                                                         gboolean arg_suppress_handler);
void                tp_svc_connection_emit_status_changed
                                                        (gpointer instance,
                                                         guint arg_status,
                                                         guint arg_reason);


                    TpSvcConnectionInterfacePresence;
                    TpSvcConnectionInterfacePresenceClass;
void                (*tp_svc_connection_interface_presence_add_status_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         const gchar *in_status,
                                                         GHashTable *in_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 *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 *context);
void                (*tp_svc_connection_interface_presence_get_presence_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         const GArray *in_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 *context,
                                                         GHashTable *out_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 *context,
                                                         GHashTable *out0);
void                (*tp_svc_connection_interface_presence_remove_status_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         const gchar *in_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 *context);
void                (*tp_svc_connection_interface_presence_request_presence_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         const GArray *in_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 *context);
void                (*tp_svc_connection_interface_presence_set_last_activity_time_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         guint in_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 *context);
void                (*tp_svc_connection_interface_presence_set_status_impl)
                                                        (TpSvcConnectionInterfacePresence *self,
                                                         GHashTable *in_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 *context);
void                tp_svc_connection_interface_presence_emit_presence_update
                                                        (gpointer instance,
                                                         GHashTable *arg_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 *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 *context,
                                                         const gchar **out0,
                                                         guint out1,
                                                         guint out2,
                                                         guint out3,
                                                         guint out4,
                                                         guint out5);
void                (*tp_svc_connection_interface_avatars_get_avatar_tokens_impl)
                                                        (TpSvcConnectionInterfaceAvatars *self,
                                                         const GArray *in_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 *context,
                                                         const gchar **out0);
void                (*tp_svc_connection_interface_avatars_request_avatar_impl)
                                                        (TpSvcConnectionInterfaceAvatars *self,
                                                         guint in_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 *context,
                                                         const GArray *out0,
                                                         const gchar *out1);
void                (*tp_svc_connection_interface_avatars_set_avatar_impl)
                                                        (TpSvcConnectionInterfaceAvatars *self,
                                                         const GArray *in_avatar,
                                                         const gchar *in_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 *context,
                                                         const gchar *out0);
void                tp_svc_connection_interface_avatars_emit_avatar_updated
                                                        (gpointer instance,
                                                         guint arg_contact,
                                                         const gchar *arg_new_avatar_token);
void                tp_svc_connection_interface_avatars_emit_avatar_retrieved
                                                        (gpointer instance,
                                                         guint arg_contact,
                                                         const gchar *arg_token,
                                                         const GArray *arg_avatar,
                                                         const gchar *arg_type);
void                tp_svc_connection_interface_avatars_implement_request_avatars
                                                        (TpSvcConnectionInterfaceAvatarsClass *klass,
                                                         tp_svc_connection_interface_avatars_request_avatars_impl impl);
void                (*tp_svc_connection_interface_avatars_request_avatars_impl)
                                                        (TpSvcConnectionInterfaceAvatars *self,
                                                         const GArray *in_contacts,
                                                         DBusGMethodInvocation *context);
void                tp_svc_connection_interface_avatars_return_from_request_avatars
                                                        (DBusGMethodInvocation *context);


                    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 *context,
                                                         guint out0);
void                (*tp_svc_connection_interface_aliasing_request_aliases_impl)
                                                        (TpSvcConnectionInterfaceAliasing *self,
                                                         const GArray *in_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 *context,
                                                         const gchar **out0);
void                (*tp_svc_connection_interface_aliasing_set_aliases_impl)
                                                        (TpSvcConnectionInterfaceAliasing *self,
                                                         GHashTable *in_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 *context);
void                tp_svc_connection_interface_aliasing_emit_aliases_changed
                                                        (gpointer instance,
                                                         const GPtrArray *arg_aliases);


                    TpSvcConnectionInterfaceCapabilities;
                    TpSvcConnectionInterfaceCapabilitiesClass;
void                (*tp_svc_connection_interface_capabilities_advertise_capabilities_impl)
                                                        (TpSvcConnectionInterfaceCapabilities *self,
                                                         const GPtrArray *in_add,
                                                         const gchar **in_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 *context,
                                                         const GPtrArray *out0);
void                (*tp_svc_connection_interface_capabilities_get_capabilities_impl)
                                                        (TpSvcConnectionInterfaceCapabilities *self,
                                                         const GArray *in_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 *context,
                                                         const GPtrArray *out0);
void                tp_svc_connection_interface_capabilities_emit_capabilities_changed
                                                        (gpointer instance,
                                                         const GPtrArray *arg_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);

The signature of an implementation of the D-Bus method Connect on interface org.freedesktop.Telepathy.Connection.

self :

The object implementing this interface

context :

Used 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 D-Bus method

tp_svc_connection_return_from_connect ()

void                tp_svc_connection_return_from_connect
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

tp_svc_connection_disconnect_impl ()

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

The signature of an implementation of the D-Bus method Disconnect on interface org.freedesktop.Telepathy.Connection.

self :

The object implementing this interface

context :

Used 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 D-Bus method

tp_svc_connection_return_from_disconnect ()

void                tp_svc_connection_return_from_disconnect
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

tp_svc_connection_get_interfaces_impl ()

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

The signature of an implementation of the D-Bus method GetInterfaces on interface org.freedesktop.Telepathy.Connection.

self :

The object implementing this interface

context :

Used 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 D-Bus method

tp_svc_connection_return_from_get_interfaces ()

void                tp_svc_connection_return_from_get_interfaces
                                                        (DBusGMethodInvocation *context,
                                                         const gchar **out0);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

const gchar ** (FIXME, generate documentation)

tp_svc_connection_get_protocol_impl ()

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

The signature of an implementation of the D-Bus method GetProtocol on interface org.freedesktop.Telepathy.Connection.

self :

The object implementing this interface

context :

Used 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 D-Bus method

tp_svc_connection_return_from_get_protocol ()

void                tp_svc_connection_return_from_get_protocol
                                                        (DBusGMethodInvocation *context,
                                                         const gchar *out0);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

const gchar * (FIXME, generate documentation)

tp_svc_connection_get_self_handle_impl ()

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

The signature of an implementation of the D-Bus method GetSelfHandle on interface org.freedesktop.Telepathy.Connection.

self :

The object implementing this interface

context :

Used 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 D-Bus method

tp_svc_connection_return_from_get_self_handle ()

void                tp_svc_connection_return_from_get_self_handle
                                                        (DBusGMethodInvocation *context,
                                                         guint out0);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

guint (FIXME, generate documentation)

tp_svc_connection_get_status_impl ()

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

The signature of an implementation of the D-Bus method GetStatus on interface org.freedesktop.Telepathy.Connection.

self :

The object implementing this interface

context :

Used 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 D-Bus method

tp_svc_connection_return_from_get_status ()

void                tp_svc_connection_return_from_get_status
                                                        (DBusGMethodInvocation *context,
                                                         guint out0);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

guint (FIXME, generate documentation)

tp_svc_connection_hold_handles_impl ()

void                (*tp_svc_connection_hold_handles_impl)
                                                        (TpSvcConnection *self,
                                                         guint in_handle_type,
                                                         const GArray *in_handles,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method HoldHandles on interface org.freedesktop.Telepathy.Connection.

self :

The object implementing this interface

in_handle_type :

guint (FIXME, generate documentation)

in_handles :

const GArray * (FIXME, generate documentation)

context :

Used 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 D-Bus method

tp_svc_connection_return_from_hold_handles ()

void                tp_svc_connection_return_from_hold_handles
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

tp_svc_connection_inspect_handles_impl ()

void                (*tp_svc_connection_inspect_handles_impl)
                                                        (TpSvcConnection *self,
                                                         guint in_handle_type,
                                                         const GArray *in_handles,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method InspectHandles on interface org.freedesktop.Telepathy.Connection.

self :

The object implementing this interface

in_handle_type :

guint (FIXME, generate documentation)

in_handles :

const GArray * (FIXME, generate documentation)

context :

Used 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 D-Bus method

tp_svc_connection_return_from_inspect_handles ()

void                tp_svc_connection_return_from_inspect_handles
                                                        (DBusGMethodInvocation *context,
                                                         const gchar **out0);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

const gchar ** (FIXME, generate documentation)

tp_svc_connection_list_channels_impl ()

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

The signature of an implementation of the D-Bus method ListChannels on interface org.freedesktop.Telepathy.Connection.

self :

The object implementing this interface

context :

Used 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 D-Bus method

tp_svc_connection_return_from_list_channels ()

void                tp_svc_connection_return_from_list_channels
                                                        (DBusGMethodInvocation *context,
                                                         const GPtrArray *out0);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

const GPtrArray * (FIXME, generate documentation)

tp_svc_connection_release_handles_impl ()

void                (*tp_svc_connection_release_handles_impl)
                                                        (TpSvcConnection *self,
                                                         guint in_handle_type,
                                                         const GArray *in_handles,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method ReleaseHandles on interface org.freedesktop.Telepathy.Connection.

self :

The object implementing this interface

in_handle_type :

guint (FIXME, generate documentation)

in_handles :

const GArray * (FIXME, generate documentation)

context :

Used 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 D-Bus method

tp_svc_connection_return_from_release_handles ()

void                tp_svc_connection_return_from_release_handles
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

tp_svc_connection_request_channel_impl ()

void                (*tp_svc_connection_request_channel_impl)
                                                        (TpSvcConnection *self,
                                                         const gchar *in_type,
                                                         guint in_handle_type,
                                                         guint in_handle,
                                                         gboolean in_suppress_handler,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method RequestChannel on interface org.freedesktop.Telepathy.Connection.

self :

The object implementing this interface

in_type :

const gchar * (FIXME, generate documentation)

in_handle_type :

guint (FIXME, generate documentation)

in_handle :

guint (FIXME, generate documentation)

in_suppress_handler :

gboolean (FIXME, generate documentation)

context :

Used 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 D-Bus method

tp_svc_connection_return_from_request_channel ()

void                tp_svc_connection_return_from_request_channel
                                                        (DBusGMethodInvocation *context,
                                                         const gchar *out0);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

const gchar * (FIXME, generate documentation)

tp_svc_connection_request_handles_impl ()

void                (*tp_svc_connection_request_handles_impl)
                                                        (TpSvcConnection *self,
                                                         guint in_handle_type,
                                                         const gchar **in_names,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method RequestHandles on interface org.freedesktop.Telepathy.Connection.

self :

The object implementing this interface

in_handle_type :

guint (FIXME, generate documentation)

in_names :

const gchar ** (FIXME, generate documentation)

context :

Used 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 D-Bus method

tp_svc_connection_return_from_request_handles ()

void                tp_svc_connection_return_from_request_handles
                                                        (DBusGMethodInvocation *context,
                                                         const GArray *out0);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

const GArray * (FIXME, generate documentation)

tp_svc_connection_emit_new_channel ()

void                tp_svc_connection_emit_new_channel  (gpointer instance,
                                                         const gchar *arg_object_path,
                                                         const gchar *arg_channel_type,
                                                         guint arg_handle_type,
                                                         guint arg_handle,
                                                         gboolean arg_suppress_handler);

Type-safe wrapper around g_signal_emit to emit the NewChannel signal on interface org.freedesktop.Telepathy.Connection.

instance :

The object implementing this interface

arg_object_path :

const gchar * (FIXME, generate documentation)

arg_channel_type :

const gchar * (FIXME, generate documentation)

arg_handle_type :

guint (FIXME, generate documentation)

arg_handle :

guint (FIXME, generate documentation)

arg_suppress_handler :

gboolean (FIXME, generate documentation)

tp_svc_connection_emit_status_changed ()

void                tp_svc_connection_emit_status_changed
                                                        (gpointer instance,
                                                         guint arg_status,
                                                         guint arg_reason);

Type-safe wrapper around g_signal_emit to emit the StatusChanged signal on interface org.freedesktop.Telepathy.Connection.

instance :

The object implementing this interface

arg_status :

guint (FIXME, generate documentation)

arg_reason :

guint (FIXME, generate documentation)

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 *in_status,
                                                         GHashTable *in_parms,
                                                         DBusGMethodInvocation *context);

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

self :

The object implementing this interface

in_status :

const gchar * (FIXME, generate documentation)

in_parms :

GHashTable * (FIXME, generate documentation)

context :

Used 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 D-Bus method

tp_svc_connection_interface_presence_return_from_add_status ()

void                tp_svc_connection_interface_presence_return_from_add_status
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

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);

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

self :

The object implementing this interface

context :

Used 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 D-Bus method

tp_svc_connection_interface_presence_return_from_clear_status ()

void                tp_svc_connection_interface_presence_return_from_clear_status
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

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 *in_contacts,
                                                         DBusGMethodInvocation *context);

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

self :

The object implementing this interface

in_contacts :

const GArray * (FIXME, generate documentation)

context :

Used 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 D-Bus method

tp_svc_connection_interface_presence_return_from_get_presence ()

void                tp_svc_connection_interface_presence_return_from_get_presence
                                                        (DBusGMethodInvocation *context,
                                                         GHashTable *out_presence);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out_presence :

GHashTable * (FIXME, generate documentation)

tp_svc_connection_interface_presence_get_statuses_impl ()

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

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

self :

The object implementing this interface

context :

Used 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 D-Bus method

tp_svc_connection_interface_presence_return_from_get_statuses ()

void                tp_svc_connection_interface_presence_return_from_get_statuses
                                                        (DBusGMethodInvocation *context,
                                                         GHashTable *out0);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

GHashTable * (FIXME, generate documentation)

tp_svc_connection_interface_presence_remove_status_impl ()

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

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

self :

The object implementing this interface

in_status :

const gchar * (FIXME, generate documentation)

context :

Used 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 D-Bus method

tp_svc_connection_interface_presence_return_from_remove_status ()

void                tp_svc_connection_interface_presence_return_from_remove_status
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

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 *in_contacts,
                                                         DBusGMethodInvocation *context);

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

self :

The object implementing this interface

in_contacts :

const GArray * (FIXME, generate documentation)

context :

Used 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 D-Bus method

tp_svc_connection_interface_presence_return_from_request_presence ()

void                tp_svc_connection_interface_presence_return_from_request_presence
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

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 in_time,
                                                         DBusGMethodInvocation *context);

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

self :

The object implementing this interface

in_time :

guint (FIXME, generate documentation)

context :

Used 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 D-Bus 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 *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

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 *in_statuses,
                                                         DBusGMethodInvocation *context);

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

self :

The object implementing this interface

in_statuses :

GHashTable * (FIXME, generate documentation)

context :

Used 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 D-Bus method

tp_svc_connection_interface_presence_return_from_set_status ()

void                tp_svc_connection_interface_presence_return_from_set_status
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

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,
                                                         GHashTable *arg_presence);

Type-safe wrapper around g_signal_emit to emit the PresenceUpdate signal on interface org.freedesktop.Telepathy.Connection.Interface.Presence.

instance :

The object implementing this interface

arg_presence :

GHashTable * (FIXME, generate documentation)

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);

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

self :

The object implementing this interface

context :

Used 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 D-Bus method

tp_svc_connection_interface_avatars_return_from_clear_avatar ()

void                tp_svc_connection_interface_avatars_return_from_clear_avatar
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

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);

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

self :

The object implementing this interface

context :

Used 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 D-Bus method

tp_svc_connection_interface_avatars_return_from_get_avatar_requirements ()

void                tp_svc_connection_interface_avatars_return_from_get_avatar_requirements
                                                        (DBusGMethodInvocation *context,
                                                         const gchar **out0,
                                                         guint out1,
                                                         guint out2,
                                                         guint out3,
                                                         guint out4,
                                                         guint out5);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

const gchar ** (FIXME, generate documentation)

out1 :

guint (FIXME, generate documentation)

out2 :

guint (FIXME, generate documentation)

out3 :

guint (FIXME, generate documentation)

out4 :

guint (FIXME, generate documentation)

out5 :

guint (FIXME, generate documentation)

tp_svc_connection_interface_avatars_get_avatar_tokens_impl ()

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

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

self :

The object implementing this interface

in_contacts :

const GArray * (FIXME, generate documentation)

context :

Used 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 D-Bus method

tp_svc_connection_interface_avatars_return_from_get_avatar_tokens ()

void                tp_svc_connection_interface_avatars_return_from_get_avatar_tokens
                                                        (DBusGMethodInvocation *context,
                                                         const gchar **out0);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

const gchar ** (FIXME, generate documentation)

tp_svc_connection_interface_avatars_request_avatar_impl ()

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

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

self :

The object implementing this interface

in_contact :

guint (FIXME, generate documentation)

context :

Used 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 D-Bus method

tp_svc_connection_interface_avatars_return_from_request_avatar ()

void                tp_svc_connection_interface_avatars_return_from_request_avatar
                                                        (DBusGMethodInvocation *context,
                                                         const GArray *out0,
                                                         const gchar *out1);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

const GArray * (FIXME, generate documentation)

out1 :

const gchar * (FIXME, generate documentation)

tp_svc_connection_interface_avatars_set_avatar_impl ()

void                (*tp_svc_connection_interface_avatars_set_avatar_impl)
                                                        (TpSvcConnectionInterfaceAvatars *self,
                                                         const GArray *in_avatar,
                                                         const gchar *in_mime_type,
                                                         DBusGMethodInvocation *context);

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

self :

The object implementing this interface

in_avatar :

const GArray * (FIXME, generate documentation)

in_mime_type :

const gchar * (FIXME, generate documentation)

context :

Used 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 D-Bus method

tp_svc_connection_interface_avatars_return_from_set_avatar ()

void                tp_svc_connection_interface_avatars_return_from_set_avatar
                                                        (DBusGMethodInvocation *context,
                                                         const gchar *out0);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

const gchar * (FIXME, generate documentation)

tp_svc_connection_interface_avatars_emit_avatar_updated ()

void                tp_svc_connection_interface_avatars_emit_avatar_updated
                                                        (gpointer instance,
                                                         guint arg_contact,
                                                         const gchar *arg_new_avatar_token);

Type-safe wrapper around g_signal_emit to emit the AvatarUpdated signal on interface org.freedesktop.Telepathy.Connection.Interface.Avatars.

instance :

The object implementing this interface

arg_contact :

guint (FIXME, generate documentation)

arg_new_avatar_token :

const gchar * (FIXME, generate documentation)

tp_svc_connection_interface_avatars_emit_avatar_retrieved ()

void                tp_svc_connection_interface_avatars_emit_avatar_retrieved
                                                        (gpointer instance,
                                                         guint arg_contact,
                                                         const gchar *arg_token,
                                                         const GArray *arg_avatar,
                                                         const gchar *arg_type);

Type-safe wrapper around g_signal_emit to emit the AvatarRetrieved signal on interface org.freedesktop.Telepathy.Connection.Interface.Avatars.

instance :

The object implementing this interface

arg_contact :

guint (FIXME, generate documentation)

arg_token :

const gchar * (FIXME, generate documentation)

arg_avatar :

const GArray * (FIXME, generate documentation)

arg_type :

const gchar * (FIXME, generate documentation)

tp_svc_connection_interface_avatars_implement_request_avatars ()

void                tp_svc_connection_interface_avatars_implement_request_avatars
                                                        (TpSvcConnectionInterfaceAvatarsClass *klass,
                                                         tp_svc_connection_interface_avatars_request_avatars_impl impl);

Register an implementation for the RequestAvatars 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 RequestAvatars D-Bus method

tp_svc_connection_interface_avatars_request_avatars_impl ()

void                (*tp_svc_connection_interface_avatars_request_avatars_impl)
                                                        (TpSvcConnectionInterfaceAvatars *self,
                                                         const GArray *in_contacts,
                                                         DBusGMethodInvocation *context);

The signature of an implementation of the D-Bus method RequestAvatars on interface org.freedesktop.Telepathy.Connection.Interface.Avatars.

self :

The object implementing this interface

in_contacts :

const GArray * (FIXME, generate documentation)

context :

Used to return values or throw an error

tp_svc_connection_interface_avatars_return_from_request_avatars ()

void                tp_svc_connection_interface_avatars_return_from_request_avatars
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

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);

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

self :

The object implementing this interface

context :

Used 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 D-Bus method

tp_svc_connection_interface_aliasing_return_from_get_alias_flags ()

void                tp_svc_connection_interface_aliasing_return_from_get_alias_flags
                                                        (DBusGMethodInvocation *context,
                                                         guint out0);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

guint (FIXME, generate documentation)

tp_svc_connection_interface_aliasing_request_aliases_impl ()

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

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

self :

The object implementing this interface

in_contacts :

const GArray * (FIXME, generate documentation)

context :

Used 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 D-Bus method

tp_svc_connection_interface_aliasing_return_from_request_aliases ()

void                tp_svc_connection_interface_aliasing_return_from_request_aliases
                                                        (DBusGMethodInvocation *context,
                                                         const gchar **out0);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

const gchar ** (FIXME, generate documentation)

tp_svc_connection_interface_aliasing_set_aliases_impl ()

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

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

self :

The object implementing this interface

in_aliases :

GHashTable * (FIXME, generate documentation)

context :

Used 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 D-Bus method

tp_svc_connection_interface_aliasing_return_from_set_aliases ()

void                tp_svc_connection_interface_aliasing_return_from_set_aliases
                                                        (DBusGMethodInvocation *context);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

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 *arg_aliases);

Type-safe wrapper around g_signal_emit to emit the AliasesChanged signal on interface org.freedesktop.Telepathy.Connection.Interface.Aliasing.

instance :

The object implementing this interface

arg_aliases :

const GPtrArray * (FIXME, generate documentation)

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 *in_add,
                                                         const gchar **in_remove,
                                                         DBusGMethodInvocation *context);

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

self :

The object implementing this interface

in_add :

const GPtrArray * (FIXME, generate documentation)

in_remove :

const gchar ** (FIXME, generate documentation)

context :

Used 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 D-Bus method

tp_svc_connection_interface_capabilities_return_from_advertise_capabilities ()

void                tp_svc_connection_interface_capabilities_return_from_advertise_capabilities
                                                        (DBusGMethodInvocation *context,
                                                         const GPtrArray *out0);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

const GPtrArray * (FIXME, generate documentation)

tp_svc_connection_interface_capabilities_get_capabilities_impl ()

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

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

self :

The object implementing this interface

in_handles :

const GArray * (FIXME, generate documentation)

context :

Used 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 D-Bus method

tp_svc_connection_interface_capabilities_return_from_get_capabilities ()

void                tp_svc_connection_interface_capabilities_return_from_get_capabilities
                                                        (DBusGMethodInvocation *context,
                                                         const GPtrArray *out0);

Return successfully by calling dbus_g_method_return(). This inline function exists only to provide type-safety.

context :

The D-Bus method invocation context

out0 :

const GPtrArray * (FIXME, generate documentation)

tp_svc_connection_interface_capabilities_emit_capabilities_changed ()

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

Type-safe wrapper around g_signal_emit to emit the CapabilitiesChanged signal on interface org.freedesktop.Telepathy.Connection.Interface.Capabilities.

instance :

The object implementing this interface

arg_caps :

const GPtrArray * (FIXME, generate documentation)

See Also

TpBaseConnection