Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdtlsconnection.h File Reference

Go to the source code of this file.

Data Structures

struct  _GDtlsConnectionInterface
 

Macros

#define G_TYPE_DTLS_CONNECTION   (g_dtls_connection_get_type ())
 
#define G_DTLS_CONNECTION(inst)   (G_TYPE_CHECK_INSTANCE_CAST ((inst), G_TYPE_DTLS_CONNECTION, GDtlsConnection))
 
#define G_IS_DTLS_CONNECTION(inst)   (G_TYPE_CHECK_INSTANCE_TYPE ((inst), G_TYPE_DTLS_CONNECTION))
 
#define G_DTLS_CONNECTION_GET_INTERFACE(inst)   (G_TYPE_INSTANCE_GET_INTERFACE ((inst), G_TYPE_DTLS_CONNECTION, GDtlsConnectionInterface))
 

Typedefs

typedef struct _GDtlsConnectionInterface GDtlsConnectionInterface
 

Functions

GIO_AVAILABLE_IN_2_48 GType g_dtls_connection_get_type (void) G_GNUC_CONST
 
GIO_AVAILABLE_IN_2_48 void g_dtls_connection_set_database (GDtlsConnection *conn, GTlsDatabase *database)
 
GIO_AVAILABLE_IN_2_48 GTlsDatabaseg_dtls_connection_get_database (GDtlsConnection *conn)
 
GIO_AVAILABLE_IN_2_48 void g_dtls_connection_set_certificate (GDtlsConnection *conn, GTlsCertificate *certificate)
 
GIO_AVAILABLE_IN_2_48 GTlsCertificateg_dtls_connection_get_certificate (GDtlsConnection *conn)
 
GIO_AVAILABLE_IN_2_48 void g_dtls_connection_set_interaction (GDtlsConnection *conn, GTlsInteraction *interaction)
 
GIO_AVAILABLE_IN_2_48 GTlsInteractiong_dtls_connection_get_interaction (GDtlsConnection *conn)
 
GIO_AVAILABLE_IN_2_48 GTlsCertificateg_dtls_connection_get_peer_certificate (GDtlsConnection *conn)
 
GIO_AVAILABLE_IN_2_48 GTlsCertificateFlags g_dtls_connection_get_peer_certificate_errors (GDtlsConnection *conn)
 
GIO_AVAILABLE_IN_2_48 void g_dtls_connection_set_require_close_notify (GDtlsConnection *conn, gboolean require_close_notify)
 
GIO_AVAILABLE_IN_2_48 gboolean g_dtls_connection_get_require_close_notify (GDtlsConnection *conn)
 
G_GNUC_BEGIN_IGNORE_DEPRECATIONS GIO_DEPRECATED_IN_2_60 void g_dtls_connection_set_rehandshake_mode (GDtlsConnection *conn, GTlsRehandshakeMode mode)
 
GIO_DEPRECATED_IN_2_60 GTlsRehandshakeMode g_dtls_connection_get_rehandshake_mode (GDtlsConnection *conn)
 
G_GNUC_END_IGNORE_DEPRECATIONS GIO_AVAILABLE_IN_2_48 gboolean g_dtls_connection_handshake (GDtlsConnection *conn, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_2_48 void g_dtls_connection_handshake_async (GDtlsConnection *conn, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_2_48 gboolean g_dtls_connection_handshake_finish (GDtlsConnection *conn, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_2_48 gboolean g_dtls_connection_shutdown (GDtlsConnection *conn, gboolean shutdown_read, gboolean shutdown_write, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_2_48 void g_dtls_connection_shutdown_async (GDtlsConnection *conn, gboolean shutdown_read, gboolean shutdown_write, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_2_48 gboolean g_dtls_connection_shutdown_finish (GDtlsConnection *conn, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_2_48 gboolean g_dtls_connection_close (GDtlsConnection *conn, GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_2_48 void g_dtls_connection_close_async (GDtlsConnection *conn, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIO_AVAILABLE_IN_2_48 gboolean g_dtls_connection_close_finish (GDtlsConnection *conn, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_2_48 gboolean g_dtls_connection_emit_accept_certificate (GDtlsConnection *conn, GTlsCertificate *peer_cert, GTlsCertificateFlags errors)
 
GIO_AVAILABLE_IN_2_60 void g_dtls_connection_set_advertised_protocols (GDtlsConnection *conn, const gchar *const *protocols)
 
GIO_AVAILABLE_IN_2_60 const gcharg_dtls_connection_get_negotiated_protocol (GDtlsConnection *conn)
 
G_GNUC_BEGIN_IGNORE_DEPRECATIONS GIO_AVAILABLE_IN_2_66 gboolean g_dtls_connection_get_channel_binding_data (GDtlsConnection *conn, GTlsChannelBindingType type, GByteArray *data, GError **error)
 
G_GNUC_END_IGNORE_DEPRECATIONS GIO_AVAILABLE_IN_2_70 GTlsProtocolVersion g_dtls_connection_get_protocol_version (GDtlsConnection *conn)
 
GIO_AVAILABLE_IN_2_70 gcharg_dtls_connection_get_ciphersuite_name (GDtlsConnection *conn)
 

Macro Definition Documentation

◆ G_DTLS_CONNECTION

#define G_DTLS_CONNECTION ( inst)    (G_TYPE_CHECK_INSTANCE_CAST ((inst), G_TYPE_DTLS_CONNECTION, GDtlsConnection))

Definition at line 34 of file gdtlsconnection.h.

◆ G_DTLS_CONNECTION_GET_INTERFACE

#define G_DTLS_CONNECTION_GET_INTERFACE ( inst)    (G_TYPE_INSTANCE_GET_INTERFACE ((inst), G_TYPE_DTLS_CONNECTION, GDtlsConnectionInterface))

Definition at line 36 of file gdtlsconnection.h.

◆ G_IS_DTLS_CONNECTION

#define G_IS_DTLS_CONNECTION ( inst)    (G_TYPE_CHECK_INSTANCE_TYPE ((inst), G_TYPE_DTLS_CONNECTION))

Definition at line 35 of file gdtlsconnection.h.

◆ G_TYPE_DTLS_CONNECTION

#define G_TYPE_DTLS_CONNECTION   (g_dtls_connection_get_type ())

Definition at line 33 of file gdtlsconnection.h.

Typedef Documentation

◆ GDtlsConnectionInterface

Definition at line 38 of file gdtlsconnection.h.

Function Documentation

◆ g_dtls_connection_close()

GIO_AVAILABLE_IN_2_48 gboolean g_dtls_connection_close ( GDtlsConnection * conn,
GCancellable * cancellable,
GError ** error )

◆ g_dtls_connection_close_async()

GIO_AVAILABLE_IN_2_48 void g_dtls_connection_close_async ( GDtlsConnection * conn,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_dtls_connection_close_finish()

GIO_AVAILABLE_IN_2_48 gboolean g_dtls_connection_close_finish ( GDtlsConnection * conn,
GAsyncResult * result,
GError ** error )

◆ g_dtls_connection_emit_accept_certificate()

GIO_AVAILABLE_IN_2_48 gboolean g_dtls_connection_emit_accept_certificate ( GDtlsConnection * conn,
GTlsCertificate * peer_cert,
GTlsCertificateFlags errors )

◆ g_dtls_connection_get_certificate()

GIO_AVAILABLE_IN_2_48 GTlsCertificate * g_dtls_connection_get_certificate ( GDtlsConnection * conn)

◆ g_dtls_connection_get_channel_binding_data()

G_GNUC_BEGIN_IGNORE_DEPRECATIONS GIO_AVAILABLE_IN_2_66 gboolean g_dtls_connection_get_channel_binding_data ( GDtlsConnection * conn,
GTlsChannelBindingType type,
GByteArray * data,
GError ** error )

◆ g_dtls_connection_get_ciphersuite_name()

GIO_AVAILABLE_IN_2_70 gchar * g_dtls_connection_get_ciphersuite_name ( GDtlsConnection * conn)

◆ g_dtls_connection_get_database()

GIO_AVAILABLE_IN_2_48 GTlsDatabase * g_dtls_connection_get_database ( GDtlsConnection * conn)

◆ g_dtls_connection_get_interaction()

GIO_AVAILABLE_IN_2_48 GTlsInteraction * g_dtls_connection_get_interaction ( GDtlsConnection * conn)

◆ g_dtls_connection_get_negotiated_protocol()

GIO_AVAILABLE_IN_2_60 const gchar * g_dtls_connection_get_negotiated_protocol ( GDtlsConnection * conn)

◆ g_dtls_connection_get_peer_certificate()

GIO_AVAILABLE_IN_2_48 GTlsCertificate * g_dtls_connection_get_peer_certificate ( GDtlsConnection * conn)

◆ g_dtls_connection_get_peer_certificate_errors()

GIO_AVAILABLE_IN_2_48 GTlsCertificateFlags g_dtls_connection_get_peer_certificate_errors ( GDtlsConnection * conn)

◆ g_dtls_connection_get_protocol_version()

◆ g_dtls_connection_get_rehandshake_mode()

GIO_DEPRECATED_IN_2_60 GTlsRehandshakeMode g_dtls_connection_get_rehandshake_mode ( GDtlsConnection * conn)

◆ g_dtls_connection_get_require_close_notify()

GIO_AVAILABLE_IN_2_48 gboolean g_dtls_connection_get_require_close_notify ( GDtlsConnection * conn)

◆ g_dtls_connection_get_type()

GIO_AVAILABLE_IN_2_48 GType g_dtls_connection_get_type ( void )

◆ g_dtls_connection_handshake()

G_GNUC_END_IGNORE_DEPRECATIONS GIO_AVAILABLE_IN_2_48 gboolean g_dtls_connection_handshake ( GDtlsConnection * conn,
GCancellable * cancellable,
GError ** error )

◆ g_dtls_connection_handshake_async()

GIO_AVAILABLE_IN_2_48 void g_dtls_connection_handshake_async ( GDtlsConnection * conn,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_dtls_connection_handshake_finish()

GIO_AVAILABLE_IN_2_48 gboolean g_dtls_connection_handshake_finish ( GDtlsConnection * conn,
GAsyncResult * result,
GError ** error )

◆ g_dtls_connection_set_advertised_protocols()

GIO_AVAILABLE_IN_2_60 void g_dtls_connection_set_advertised_protocols ( GDtlsConnection * conn,
const gchar *const * protocols )

◆ g_dtls_connection_set_certificate()

GIO_AVAILABLE_IN_2_48 void g_dtls_connection_set_certificate ( GDtlsConnection * conn,
GTlsCertificate * certificate )

◆ g_dtls_connection_set_database()

GIO_AVAILABLE_IN_2_48 void g_dtls_connection_set_database ( GDtlsConnection * conn,
GTlsDatabase * database )

◆ g_dtls_connection_set_interaction()

GIO_AVAILABLE_IN_2_48 void g_dtls_connection_set_interaction ( GDtlsConnection * conn,
GTlsInteraction * interaction )

◆ g_dtls_connection_set_rehandshake_mode()

G_GNUC_BEGIN_IGNORE_DEPRECATIONS GIO_DEPRECATED_IN_2_60 void g_dtls_connection_set_rehandshake_mode ( GDtlsConnection * conn,
GTlsRehandshakeMode mode )

◆ g_dtls_connection_set_require_close_notify()

GIO_AVAILABLE_IN_2_48 void g_dtls_connection_set_require_close_notify ( GDtlsConnection * conn,
gboolean require_close_notify )

◆ g_dtls_connection_shutdown()

GIO_AVAILABLE_IN_2_48 gboolean g_dtls_connection_shutdown ( GDtlsConnection * conn,
gboolean shutdown_read,
gboolean shutdown_write,
GCancellable * cancellable,
GError ** error )

◆ g_dtls_connection_shutdown_async()

GIO_AVAILABLE_IN_2_48 void g_dtls_connection_shutdown_async ( GDtlsConnection * conn,
gboolean shutdown_read,
gboolean shutdown_write,
int io_priority,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_dtls_connection_shutdown_finish()

GIO_AVAILABLE_IN_2_48 gboolean g_dtls_connection_shutdown_finish ( GDtlsConnection * conn,
GAsyncResult * result,
GError ** error )