Type Alias GTlsBackendInterface

Source
pub type GTlsBackendInterface = _GTlsBackendInterface;
Expand description

GTlsBackendInterface: @g_iface: The parent interface. @supports_tls: returns whether the backend supports TLS. @supports_dtls: returns whether the backend supports DTLS @get_default_database: returns a default #GTlsDatabase instance. @get_certificate_type: returns the #GTlsCertificate implementation type @get_client_connection_type: returns the #GTlsClientConnection implementation type @get_server_connection_type: returns the #GTlsServerConnection implementation type @get_file_database_type: returns the #GTlsFileDatabase implementation type. @get_dtls_client_connection_type: returns the #GDtlsClientConnection implementation type @get_dtls_server_connection_type: returns the #GDtlsServerConnection implementation type

Provides an interface for describing TLS-related types.

Since: 2.28

Aliased Type§

#[repr(C)]
pub struct GTlsBackendInterface { pub g_iface: _GTypeInterface, pub supports_tls: Option<unsafe extern "C" fn(*mut _GTlsBackend) -> i32>, pub get_certificate_type: Option<unsafe extern "C" fn() -> u64>, pub get_client_connection_type: Option<unsafe extern "C" fn() -> u64>, pub get_server_connection_type: Option<unsafe extern "C" fn() -> u64>, pub get_file_database_type: Option<unsafe extern "C" fn() -> u64>, pub get_default_database: Option<unsafe extern "C" fn(*mut _GTlsBackend) -> *mut _GTlsDatabase>, pub supports_dtls: Option<unsafe extern "C" fn(*mut _GTlsBackend) -> i32>, pub get_dtls_client_connection_type: Option<unsafe extern "C" fn() -> u64>, pub get_dtls_server_connection_type: Option<unsafe extern "C" fn() -> u64>, }

Fields§

§g_iface: _GTypeInterface§supports_tls: Option<unsafe extern "C" fn(*mut _GTlsBackend) -> i32>§get_certificate_type: Option<unsafe extern "C" fn() -> u64>§get_client_connection_type: Option<unsafe extern "C" fn() -> u64>§get_server_connection_type: Option<unsafe extern "C" fn() -> u64>§get_file_database_type: Option<unsafe extern "C" fn() -> u64>§get_default_database: Option<unsafe extern "C" fn(*mut _GTlsBackend) -> *mut _GTlsDatabase>§supports_dtls: Option<unsafe extern "C" fn(*mut _GTlsBackend) -> i32>§get_dtls_client_connection_type: Option<unsafe extern "C" fn() -> u64>§get_dtls_server_connection_type: Option<unsafe extern "C" fn() -> u64>