![]() |
![]() |
![]() |
telepathy-glib Reference Manual | ![]() |
---|---|---|---|---|
#include <telepathy-glib/svc-channel-tubes.h> TpSvcChannelTypeTubes; TpSvcChannelTypeTubesClass; void (*tp_svc_channel_type_tubes_accept_d_bus_tube_impl) (TpSvcChannelTypeTubes *self, guint in_id, DBusGMethodInvocation *context); void tp_svc_channel_type_tubes_implement_accept_d_bus_tube (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_accept_d_bus_tube_impl impl); void tp_svc_channel_type_tubes_return_from_accept_d_bus_tube (DBusGMethodInvocation *context, const gchar *out_address); void (*tp_svc_channel_type_tubes_accept_stream_tube_impl) (TpSvcChannelTypeTubes *self, guint in_id, guint in_address_type, guint in_access_control, const GValue *in_access_control_param, DBusGMethodInvocation *context); void tp_svc_channel_type_tubes_implement_accept_stream_tube (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_accept_stream_tube_impl impl); void tp_svc_channel_type_tubes_return_from_accept_stream_tube (DBusGMethodInvocation *context, const GValue *out_address); void (*tp_svc_channel_type_tubes_close_tube_impl) (TpSvcChannelTypeTubes *self, guint in_id, DBusGMethodInvocation *context); void tp_svc_channel_type_tubes_implement_close_tube (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_close_tube_impl impl); void tp_svc_channel_type_tubes_return_from_close_tube (DBusGMethodInvocation *context); void (*tp_svc_channel_type_tubes_get_available_stream_tube_types_impl) (TpSvcChannelTypeTubes *self, DBusGMethodInvocation *context); void tp_svc_channel_type_tubes_implement_get_available_stream_tube_types (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_get_available_stream_tube_types_impl impl); void tp_svc_channel_type_tubes_return_from_get_available_stream_tube_types (DBusGMethodInvocation *context, GHashTable *out0); void (*tp_svc_channel_type_tubes_get_available_tube_types_impl) (TpSvcChannelTypeTubes *self, DBusGMethodInvocation *context); void tp_svc_channel_type_tubes_implement_get_available_tube_types (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_get_available_tube_types_impl impl); void tp_svc_channel_type_tubes_return_from_get_available_tube_types (DBusGMethodInvocation *context, const GArray *out0); void (*tp_svc_channel_type_tubes_get_d_bus_names_impl) (TpSvcChannelTypeTubes *self, guint in_id, DBusGMethodInvocation *context); void tp_svc_channel_type_tubes_implement_get_d_bus_names (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_get_d_bus_names_impl impl); void tp_svc_channel_type_tubes_return_from_get_d_bus_names (DBusGMethodInvocation *context, const GPtrArray *out0); void (*tp_svc_channel_type_tubes_get_d_bus_tube_address_impl) (TpSvcChannelTypeTubes *self, guint in_id, DBusGMethodInvocation *context); void tp_svc_channel_type_tubes_implement_get_d_bus_tube_address (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_get_d_bus_tube_address_impl impl); void tp_svc_channel_type_tubes_return_from_get_d_bus_tube_address (DBusGMethodInvocation *context, const gchar *out0); void (*tp_svc_channel_type_tubes_get_stream_tube_socket_address_impl) (TpSvcChannelTypeTubes *self, guint in_id, DBusGMethodInvocation *context); void tp_svc_channel_type_tubes_implement_get_stream_tube_socket_address (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_get_stream_tube_socket_address_impl impl); void tp_svc_channel_type_tubes_return_from_get_stream_tube_socket_address (DBusGMethodInvocation *context, guint out_address_type, const GValue *out_address); void (*tp_svc_channel_type_tubes_list_tubes_impl) (TpSvcChannelTypeTubes *self, DBusGMethodInvocation *context); void tp_svc_channel_type_tubes_implement_list_tubes (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_list_tubes_impl impl); void tp_svc_channel_type_tubes_return_from_list_tubes (DBusGMethodInvocation *context, const GPtrArray *out0); void (*tp_svc_channel_type_tubes_offer_d_bus_tube_impl) (TpSvcChannelTypeTubes *self, const gchar *in_service, GHashTable *in_parameters, DBusGMethodInvocation *context); void tp_svc_channel_type_tubes_implement_offer_d_bus_tube (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_offer_d_bus_tube_impl impl); void tp_svc_channel_type_tubes_return_from_offer_d_bus_tube (DBusGMethodInvocation *context, guint out0); void (*tp_svc_channel_type_tubes_offer_stream_tube_impl) (TpSvcChannelTypeTubes *self, const gchar *in_service, GHashTable *in_parameters, guint in_address_type, const GValue *in_address, guint in_access_control, const GValue *in_access_control_param, DBusGMethodInvocation *context); void tp_svc_channel_type_tubes_implement_offer_stream_tube (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_offer_stream_tube_impl impl); void tp_svc_channel_type_tubes_return_from_offer_stream_tube (DBusGMethodInvocation *context, guint out0); void tp_svc_channel_type_tubes_emit_d_bus_names_changed (gpointer instance, guint arg_id, const GPtrArray *arg_added, const GArray *arg_removed); void tp_svc_channel_type_tubes_emit_new_tube (gpointer instance, guint arg_id, guint arg_initiator, guint arg_type, const gchar *arg_service, GHashTable *arg_parameters, guint arg_state); void tp_svc_channel_type_tubes_emit_stream_tube_new_connection (gpointer instance, guint arg_id, guint arg_handle); void tp_svc_channel_type_tubes_emit_tube_closed (gpointer instance, guint arg_id); void tp_svc_channel_type_tubes_emit_tube_state_changed (gpointer instance, guint arg_id, guint arg_state);
A "tube" is a mechanism for arbitrary data transfer. This section documents the auto-generated C wrappers for the Tubes channel type.
typedef struct _TpSvcChannelTypeTubes TpSvcChannelTypeTubes;
Dummy typedef representing any implementation of this interface.
typedef struct _TpSvcChannelTypeTubesClass TpSvcChannelTypeTubesClass;
The class of TpSvcChannelTypeTubes.
void (*tp_svc_channel_type_tubes_accept_d_bus_tube_impl) (TpSvcChannelTypeTubes *self, guint in_id, DBusGMethodInvocation *context);
The signature of an implementation of the D-Bus method AcceptDBusTube on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
|
The object implementing this interface |
|
guint (FIXME, generate documentation) |
|
Used to return values or throw an error |
void tp_svc_channel_type_tubes_implement_accept_d_bus_tube (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_accept_d_bus_tube_impl impl);
Register an implementation for the AcceptDBusTube method in the vtable of an implementation of this interface. To be called from the interface init function.
|
A class whose instances implement this interface |
|
A callback used to implement the AcceptDBusTube D-Bus method |
void tp_svc_channel_type_tubes_return_from_accept_d_bus_tube (DBusGMethodInvocation *context, const gchar *out_address);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
|
The D-Bus method invocation context |
|
const gchar * (FIXME, generate documentation) |
void (*tp_svc_channel_type_tubes_accept_stream_tube_impl) (TpSvcChannelTypeTubes *self, guint in_id, guint in_address_type, guint in_access_control, const GValue *in_access_control_param, DBusGMethodInvocation *context);
The signature of an implementation of the D-Bus method AcceptStreamTube on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
|
The object implementing this interface |
|
guint (FIXME, generate documentation) |
|
guint (FIXME, generate documentation) |
|
guint (FIXME, generate documentation) |
|
const GValue * (FIXME, generate documentation) |
|
Used to return values or throw an error |
void tp_svc_channel_type_tubes_implement_accept_stream_tube (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_accept_stream_tube_impl impl);
Register an implementation for the AcceptStreamTube method in the vtable of an implementation of this interface. To be called from the interface init function.
|
A class whose instances implement this interface |
|
A callback used to implement the AcceptStreamTube D-Bus method |
void tp_svc_channel_type_tubes_return_from_accept_stream_tube (DBusGMethodInvocation *context, const GValue *out_address);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
|
The D-Bus method invocation context |
|
const GValue * (FIXME, generate documentation) |
void (*tp_svc_channel_type_tubes_close_tube_impl) (TpSvcChannelTypeTubes *self, guint in_id, DBusGMethodInvocation *context);
The signature of an implementation of the D-Bus method CloseTube on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
|
The object implementing this interface |
|
guint (FIXME, generate documentation) |
|
Used to return values or throw an error |
void tp_svc_channel_type_tubes_implement_close_tube (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_close_tube_impl impl);
Register an implementation for the CloseTube method in the vtable of an implementation of this interface. To be called from the interface init function.
|
A class whose instances implement this interface |
|
A callback used to implement the CloseTube D-Bus method |
void tp_svc_channel_type_tubes_return_from_close_tube (DBusGMethodInvocation *context);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
|
The D-Bus method invocation context |
void (*tp_svc_channel_type_tubes_get_available_stream_tube_types_impl) (TpSvcChannelTypeTubes *self, DBusGMethodInvocation *context);
The signature of an implementation of the D-Bus method GetAvailableStreamTubeTypes on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
|
The object implementing this interface |
|
Used to return values or throw an error |
void tp_svc_channel_type_tubes_implement_get_available_stream_tube_types (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_get_available_stream_tube_types_impl impl);
Register an implementation for the GetAvailableStreamTubeTypes method in the vtable of an implementation of this interface. To be called from the interface init function.
|
A class whose instances implement this interface |
|
A callback used to implement the GetAvailableStreamTubeTypes D-Bus method |
void tp_svc_channel_type_tubes_return_from_get_available_stream_tube_types (DBusGMethodInvocation *context, GHashTable *out0);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
|
The D-Bus method invocation context |
|
GHashTable * (FIXME, generate documentation) |
void (*tp_svc_channel_type_tubes_get_available_tube_types_impl) (TpSvcChannelTypeTubes *self, DBusGMethodInvocation *context);
The signature of an implementation of the D-Bus method GetAvailableTubeTypes on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
|
The object implementing this interface |
|
Used to return values or throw an error |
void tp_svc_channel_type_tubes_implement_get_available_tube_types (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_get_available_tube_types_impl impl);
Register an implementation for the GetAvailableTubeTypes method in the vtable of an implementation of this interface. To be called from the interface init function.
|
A class whose instances implement this interface |
|
A callback used to implement the GetAvailableTubeTypes D-Bus method |
void tp_svc_channel_type_tubes_return_from_get_available_tube_types (DBusGMethodInvocation *context, const GArray *out0);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
|
The D-Bus method invocation context |
|
const GArray * (FIXME, generate documentation) |
void (*tp_svc_channel_type_tubes_get_d_bus_names_impl) (TpSvcChannelTypeTubes *self, guint in_id, DBusGMethodInvocation *context);
The signature of an implementation of the D-Bus method GetDBusNames on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
|
The object implementing this interface |
|
guint (FIXME, generate documentation) |
|
Used to return values or throw an error |
void tp_svc_channel_type_tubes_implement_get_d_bus_names (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_get_d_bus_names_impl impl);
Register an implementation for the GetDBusNames method in the vtable of an implementation of this interface. To be called from the interface init function.
|
A class whose instances implement this interface |
|
A callback used to implement the GetDBusNames D-Bus method |
void tp_svc_channel_type_tubes_return_from_get_d_bus_names (DBusGMethodInvocation *context, const GPtrArray *out0);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
|
The D-Bus method invocation context |
|
const GPtrArray * (FIXME, generate documentation) |
void (*tp_svc_channel_type_tubes_get_d_bus_tube_address_impl) (TpSvcChannelTypeTubes *self, guint in_id, DBusGMethodInvocation *context);
The signature of an implementation of the D-Bus method GetDBusTubeAddress on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
|
The object implementing this interface |
|
guint (FIXME, generate documentation) |
|
Used to return values or throw an error |
void tp_svc_channel_type_tubes_implement_get_d_bus_tube_address (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_get_d_bus_tube_address_impl impl);
Register an implementation for the GetDBusTubeAddress method in the vtable of an implementation of this interface. To be called from the interface init function.
|
A class whose instances implement this interface |
|
A callback used to implement the GetDBusTubeAddress D-Bus method |
void tp_svc_channel_type_tubes_return_from_get_d_bus_tube_address (DBusGMethodInvocation *context, const gchar *out0);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
|
The D-Bus method invocation context |
|
const gchar * (FIXME, generate documentation) |
void (*tp_svc_channel_type_tubes_get_stream_tube_socket_address_impl) (TpSvcChannelTypeTubes *self, guint in_id, DBusGMethodInvocation *context);
The signature of an implementation of the D-Bus method GetStreamTubeSocketAddress on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
|
The object implementing this interface |
|
guint (FIXME, generate documentation) |
|
Used to return values or throw an error |
void tp_svc_channel_type_tubes_implement_get_stream_tube_socket_address (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_get_stream_tube_socket_address_impl impl);
Register an implementation for the GetStreamTubeSocketAddress method in the vtable of an implementation of this interface. To be called from the interface init function.
|
A class whose instances implement this interface |
|
A callback used to implement the GetStreamTubeSocketAddress D-Bus method |
void tp_svc_channel_type_tubes_return_from_get_stream_tube_socket_address (DBusGMethodInvocation *context, guint out_address_type, const GValue *out_address);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
|
The D-Bus method invocation context |
|
guint (FIXME, generate documentation) |
|
const GValue * (FIXME, generate documentation) |
void (*tp_svc_channel_type_tubes_list_tubes_impl) (TpSvcChannelTypeTubes *self, DBusGMethodInvocation *context);
The signature of an implementation of the D-Bus method ListTubes on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
|
The object implementing this interface |
|
Used to return values or throw an error |
void tp_svc_channel_type_tubes_implement_list_tubes (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_list_tubes_impl impl);
Register an implementation for the ListTubes method in the vtable of an implementation of this interface. To be called from the interface init function.
|
A class whose instances implement this interface |
|
A callback used to implement the ListTubes D-Bus method |
void tp_svc_channel_type_tubes_return_from_list_tubes (DBusGMethodInvocation *context, const GPtrArray *out0);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
|
The D-Bus method invocation context |
|
const GPtrArray * (FIXME, generate documentation) |
void (*tp_svc_channel_type_tubes_offer_d_bus_tube_impl) (TpSvcChannelTypeTubes *self, const gchar *in_service, GHashTable *in_parameters, DBusGMethodInvocation *context);
The signature of an implementation of the D-Bus method OfferDBusTube on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
|
The object implementing this interface |
|
const gchar * (FIXME, generate documentation) |
|
GHashTable * (FIXME, generate documentation) |
|
Used to return values or throw an error |
void tp_svc_channel_type_tubes_implement_offer_d_bus_tube (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_offer_d_bus_tube_impl impl);
Register an implementation for the OfferDBusTube method in the vtable of an implementation of this interface. To be called from the interface init function.
|
A class whose instances implement this interface |
|
A callback used to implement the OfferDBusTube D-Bus method |
void tp_svc_channel_type_tubes_return_from_offer_d_bus_tube (DBusGMethodInvocation *context, guint out0);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
|
The D-Bus method invocation context |
|
guint (FIXME, generate documentation) |
void (*tp_svc_channel_type_tubes_offer_stream_tube_impl) (TpSvcChannelTypeTubes *self, const gchar *in_service, GHashTable *in_parameters, guint in_address_type, const GValue *in_address, guint in_access_control, const GValue *in_access_control_param, DBusGMethodInvocation *context);
The signature of an implementation of the D-Bus method OfferStreamTube on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
|
The object implementing this interface |
|
const gchar * (FIXME, generate documentation) |
|
GHashTable * (FIXME, generate documentation) |
|
guint (FIXME, generate documentation) |
|
const GValue * (FIXME, generate documentation) |
|
guint (FIXME, generate documentation) |
|
const GValue * (FIXME, generate documentation) |
|
Used to return values or throw an error |
void tp_svc_channel_type_tubes_implement_offer_stream_tube (TpSvcChannelTypeTubesClass *klass, tp_svc_channel_type_tubes_offer_stream_tube_impl impl);
Register an implementation for the OfferStreamTube method in the vtable of an implementation of this interface. To be called from the interface init function.
|
A class whose instances implement this interface |
|
A callback used to implement the OfferStreamTube D-Bus method |
void tp_svc_channel_type_tubes_return_from_offer_stream_tube (DBusGMethodInvocation *context, guint out0);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
|
The D-Bus method invocation context |
|
guint (FIXME, generate documentation) |
void tp_svc_channel_type_tubes_emit_d_bus_names_changed (gpointer instance, guint arg_id, const GPtrArray *arg_added, const GArray *arg_removed);
Type-safe wrapper around g_signal_emit to emit the DBusNamesChanged signal on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
|
The object implementing this interface |
|
guint (FIXME, generate documentation) |
|
const GPtrArray * (FIXME, generate documentation) |
|
const GArray * (FIXME, generate documentation) |
void tp_svc_channel_type_tubes_emit_new_tube (gpointer instance, guint arg_id, guint arg_initiator, guint arg_type, const gchar *arg_service, GHashTable *arg_parameters, guint arg_state);
Type-safe wrapper around g_signal_emit to emit the NewTube signal on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
|
The object implementing this interface |
|
guint (FIXME, generate documentation) |
|
guint (FIXME, generate documentation) |
|
guint (FIXME, generate documentation) |
|
const gchar * (FIXME, generate documentation) |
|
GHashTable * (FIXME, generate documentation) |
|
guint (FIXME, generate documentation) |
void tp_svc_channel_type_tubes_emit_stream_tube_new_connection (gpointer instance, guint arg_id, guint arg_handle);
Type-safe wrapper around g_signal_emit to emit the StreamTubeNewConnection signal on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
|
The object implementing this interface |
|
guint (FIXME, generate documentation) |
|
guint (FIXME, generate documentation) |
void tp_svc_channel_type_tubes_emit_tube_closed (gpointer instance, guint arg_id);
Type-safe wrapper around g_signal_emit to emit the TubeClosed signal on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
|
The object implementing this interface |
|
guint (FIXME, generate documentation) |
void tp_svc_channel_type_tubes_emit_tube_state_changed (gpointer instance, guint arg_id, guint arg_state);
Type-safe wrapper around g_signal_emit to emit the TubeStateChanged signal on interface org.freedesktop.Telepathy.Channel.Type.Tubes.
|
The object implementing this interface |
|
guint (FIXME, generate documentation) |
|
guint (FIXME, generate documentation) |