telepathy-glib API Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Signals |
Service-side TLS interfacesService-side TLS interfaces — GInterfaces to implement Chan.T.ServerTLSConnection |
#include <telepathy-glib/telepathy-glib-dbus.h> TpSvcChannelTypeServerTLSConnection; TpSvcChannelTypeServerTLSConnectionClass; TpSvcAuthenticationTLSCertificate; TpSvcAuthenticationTLSCertificateClass; void (*tp_svc_authentication_tls_certificate_accept_impl) (TpSvcAuthenticationTLSCertificate *self
,DBusGMethodInvocation *context
); void tp_svc_authentication_tls_certificate_return_from_accept (DBusGMethodInvocation *context
); void tp_svc_authentication_tls_certificate_implement_accept (TpSvcAuthenticationTLSCertificateClass *klass
,tp_svc_authentication_tls_certificate_accept_impl impl
); void tp_svc_authentication_tls_certificate_emit_accepted (gpointer instance
); void (*tp_svc_authentication_tls_certificate_reject_impl) (TpSvcAuthenticationTLSCertificate *self
,const GPtrArray *in_Rejections
,DBusGMethodInvocation *context
); void tp_svc_authentication_tls_certificate_return_from_reject (DBusGMethodInvocation *context
); void tp_svc_authentication_tls_certificate_implement_reject (TpSvcAuthenticationTLSCertificateClass *klass
,tp_svc_authentication_tls_certificate_reject_impl impl
); void tp_svc_authentication_tls_certificate_emit_rejected (gpointer instance
,const GPtrArray *arg_Rejections
);
GInterface +----TpSvcChannelTypeServerTLSConnection
GInterface +----TpSvcAuthenticationTLSCertificate
Channel.Type.ServerTLSConnection can be handled by clients to check servers' TLS certificates interactively. The actual certificates are represented by a separate TLSCertificate object.
typedef struct _TpSvcChannelTypeServerTLSConnection TpSvcChannelTypeServerTLSConnection;
Dummy typedef representing any implementation of this interface.
typedef struct _TpSvcChannelTypeServerTLSConnectionClass TpSvcChannelTypeServerTLSConnectionClass;
The class of TpSvcChannelTypeServerTLSConnection.
This interface has no D-Bus methods, so an
implementation can typically pass NULL
to
G_IMPLEMENT_INTERFACE()
as the interface
initialization function.
typedef struct _TpSvcAuthenticationTLSCertificate TpSvcAuthenticationTLSCertificate;
Dummy typedef representing any implementation of this interface.
typedef struct _TpSvcAuthenticationTLSCertificateClass TpSvcAuthenticationTLSCertificateClass;
The class of TpSvcAuthenticationTLSCertificate.
In a full implementation of this interface (i.e. all
methods implemented), the interface initialization
function used in G_IMPLEMENT_INTERFACE()
would
typically look like this:
static void implement_authentication_tls_certificate (gpointer klass, gpointer unused G_GNUC_UNUSED) { #define IMPLEMENT(x) tp_svc_authentication_tls_certificate_implement_##x (\ klass, my_object_##x) IMPLEMENT (accept); IMPLEMENT (reject); #undef IMPLEMENT }
void (*tp_svc_authentication_tls_certificate_accept_impl) (TpSvcAuthenticationTLSCertificate *self
,DBusGMethodInvocation *context
);
The signature of an implementation of the D-Bus method Accept on interface org.freedesktop.Telepathy.Authentication.TLSCertificate.
|
The object implementing this interface |
|
Used to return values or throw an error |
void tp_svc_authentication_tls_certificate_return_from_accept
(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_authentication_tls_certificate_implement_accept (TpSvcAuthenticationTLSCertificateClass *klass
,tp_svc_authentication_tls_certificate_accept_impl impl
);
Register an implementation for the Accept 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 Accept D-Bus method |
void tp_svc_authentication_tls_certificate_emit_accepted
(gpointer instance
);
Type-safe wrapper around g_signal_emit to emit the Accepted signal on interface org.freedesktop.Telepathy.Authentication.TLSCertificate.
|
The object implementing this interface |
void (*tp_svc_authentication_tls_certificate_reject_impl) (TpSvcAuthenticationTLSCertificate *self
,const GPtrArray *in_Rejections
,DBusGMethodInvocation *context
);
The signature of an implementation of the D-Bus method Reject on interface org.freedesktop.Telepathy.Authentication.TLSCertificate.
|
The object implementing this interface |
|
const GPtrArray * (FIXME, generate documentation) |
|
Used to return values or throw an error |
void tp_svc_authentication_tls_certificate_return_from_reject
(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_authentication_tls_certificate_implement_reject (TpSvcAuthenticationTLSCertificateClass *klass
,tp_svc_authentication_tls_certificate_reject_impl impl
);
Register an implementation for the Reject 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 Reject D-Bus method |
void tp_svc_authentication_tls_certificate_emit_rejected (gpointer instance
,const GPtrArray *arg_Rejections
);
Type-safe wrapper around g_signal_emit to emit the Rejected signal on interface org.freedesktop.Telepathy.Authentication.TLSCertificate.
|
The object implementing this interface |
|
const GPtrArray * (FIXME, generate documentation) |
"accepted"
signalvoid user_function (TpSvcAuthenticationTLSCertificate *self,
gpointer user_data) : Has Details
The Accepted D-Bus signal is emitted whenever this GObject signal is.
|
an object |
|
user data set when the signal handler was connected. |
"rejected"
signalvoid user_function (TpSvcAuthenticationTLSCertificate *self,
gpointer user_data) : Has Details
The Rejected D-Bus signal is emitted whenever this GObject signal is.
|
an object |
|
const GPtrArray * (FIXME, generate documentation) |
|
user data set when the signal handler was connected. |