![]() |
![]() |
![]() |
telepathy-glib Reference Manual | ![]() |
---|---|---|---|---|
#include <telepathy-glib/svc-channel.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);
"d-bus-names-changed" : Run Last / Has Details "new-tube" : Run Last / Has Details "stream-tube-new-connection" : Run Last / Has Details "tube-closed" : Run Last / Has Details "tube-state-changed" : Run Last / Has Details
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) |
"d-bus-names-changed"
signalvoid user_function (TpSvcChannelTypeTubes *arg_ID, guint arg_Added, GArray_guint_ *arg3, gpointer user_data) : Run Last / Has Details
The DBusNamesChanged D-Bus signal is emitted whenever this GObject signal is.
|
guint (FIXME, generate documentation) |
|
const GPtrArray * (FIXME, generate documentation) |
|
const GArray * (FIXME, generate documentation) |
|
user data set when the signal handler was connected. |
"new-tube"
signalvoid user_function (TpSvcChannelTypeTubes *arg_ID, guint arg_Initiator, guint arg_Type, guint arg_Service, gchar *arg_Parameters, guint arg6, gpointer user_data) : Run Last / Has Details
The NewTube D-Bus signal is emitted whenever this GObject signal is.
|
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) |
|
user data set when the signal handler was connected. |
"stream-tube-new-connection"
signalvoid user_function (TpSvcChannelTypeTubes *arg_ID, guint arg_Handle, guint arg2, gpointer user_data) : Run Last / Has Details
The StreamTubeNewConnection D-Bus signal is emitted whenever this GObject signal is.
|
guint (FIXME, generate documentation) |
|
guint (FIXME, generate documentation) |
|
user data set when the signal handler was connected. |
"tube-closed"
signalvoid user_function (TpSvcChannelTypeTubes *arg_ID, guint arg1, gpointer user_data) : Run Last / Has Details
The TubeClosed D-Bus signal is emitted whenever this GObject signal is.
|
guint (FIXME, generate documentation) |
|
user data set when the signal handler was connected. |
"tube-state-changed"
signalvoid user_function (TpSvcChannelTypeTubes *arg_ID, guint arg_State, guint arg2, gpointer user_data) : Run Last / Has Details
The TubeStateChanged D-Bus signal is emitted whenever this GObject signal is.
|
guint (FIXME, generate documentation) |
|
guint (FIXME, generate documentation) |
|
user data set when the signal handler was connected. |