Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
_GDtlsConnectionInterface Struct Reference

#include <gdtlsconnection.h>

Data Fields

GTypeInterface g_iface
 
gboolean(* accept_certificate )(GDtlsConnection *connection, GTlsCertificate *peer_cert, GTlsCertificateFlags errors)
 
gboolean(* handshake )(GDtlsConnection *conn, GCancellable *cancellable, GError **error)
 
void(* handshake_async )(GDtlsConnection *conn, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
gboolean(* handshake_finish )(GDtlsConnection *conn, GAsyncResult *result, GError **error)
 
gboolean(* shutdown )(GDtlsConnection *conn, gboolean shutdown_read, gboolean shutdown_write, GCancellable *cancellable, GError **error)
 
void(* shutdown_async )(GDtlsConnection *conn, gboolean shutdown_read, gboolean shutdown_write, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
gboolean(* shutdown_finish )(GDtlsConnection *conn, GAsyncResult *result, GError **error)
 
void(* set_advertised_protocols )(GDtlsConnection *conn, const gchar *const *protocols)
 
const gchar *(* get_negotiated_protocol )(GDtlsConnection *conn)
 
G_GNUC_BEGIN_IGNORE_DEPRECATIONS gboolean(* get_binding_data )(GDtlsConnection *conn, GTlsChannelBindingType type, GByteArray *data, GError **error)
 

Detailed Description

GDtlsConnectionInterface: @g_iface: The parent interface. @accept_certificate: Check whether to accept a certificate. @handshake: Perform a handshake operation. @handshake_async: Start an asynchronous handshake operation. @handshake_finish: Finish an asynchronous handshake operation. @shutdown: Shut down one or both directions of the connection. @shutdown_async: Start an asynchronous shutdown operation. @shutdown_finish: Finish an asynchronous shutdown operation. @set_advertised_protocols: Set APLN protocol list (Since: 2.60) @get_negotiated_protocol: Get ALPN-negotiated protocol (Since: 2.60) @get_binding_data: Retrieve TLS channel binding data (Since: 2.66)

Virtual method table for a GDtlsConnection implementation.

Since: 2.48

Definition at line 58 of file gdtlsconnection.h.

Field Documentation

◆ accept_certificate

gboolean(* _GDtlsConnectionInterface::accept_certificate) (GDtlsConnection *connection, GTlsCertificate *peer_cert, GTlsCertificateFlags errors)

Definition at line 63 of file gdtlsconnection.h.

◆ g_iface

GTypeInterface _GDtlsConnectionInterface::g_iface

Definition at line 60 of file gdtlsconnection.h.

◆ get_binding_data

G_GNUC_BEGIN_IGNORE_DEPRECATIONS gboolean(* _GDtlsConnectionInterface::get_binding_data) (GDtlsConnection *conn, GTlsChannelBindingType type, GByteArray *data, GError **error)

Definition at line 103 of file gdtlsconnection.h.

◆ get_negotiated_protocol

const gchar *(* _GDtlsConnectionInterface::get_negotiated_protocol) (GDtlsConnection *conn)

Definition at line 100 of file gdtlsconnection.h.

◆ handshake

gboolean(* _GDtlsConnectionInterface::handshake) (GDtlsConnection *conn, GCancellable *cancellable, GError **error)

Definition at line 68 of file gdtlsconnection.h.

◆ handshake_async

void(* _GDtlsConnectionInterface::handshake_async) (GDtlsConnection *conn, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)

Definition at line 72 of file gdtlsconnection.h.

◆ handshake_finish

gboolean(* _GDtlsConnectionInterface::handshake_finish) (GDtlsConnection *conn, GAsyncResult *result, GError **error)

Definition at line 77 of file gdtlsconnection.h.

◆ set_advertised_protocols

void(* _GDtlsConnectionInterface::set_advertised_protocols) (GDtlsConnection *conn, const gchar *const *protocols)

Definition at line 98 of file gdtlsconnection.h.

◆ shutdown

gboolean(* _GDtlsConnectionInterface::shutdown) (GDtlsConnection *conn, gboolean shutdown_read, gboolean shutdown_write, GCancellable *cancellable, GError **error)

Definition at line 81 of file gdtlsconnection.h.

◆ shutdown_async

void(* _GDtlsConnectionInterface::shutdown_async) (GDtlsConnection *conn, gboolean shutdown_read, gboolean shutdown_write, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)

Definition at line 87 of file gdtlsconnection.h.

◆ shutdown_finish

gboolean(* _GDtlsConnectionInterface::shutdown_finish) (GDtlsConnection *conn, GAsyncResult *result, GError **error)

Definition at line 94 of file gdtlsconnection.h.


The documentation for this struct was generated from the following file: