GDtlsConnectionInterface

Type Alias GDtlsConnectionInterface 

Source
pub type GDtlsConnectionInterface = _GDtlsConnectionInterface;

Aliased Type§

#[repr(C)]
pub struct GDtlsConnectionInterface { pub g_iface: _GTypeInterface, pub accept_certificate: Option<unsafe extern "C" fn(*mut _GDtlsConnection, *mut _GTlsCertificate, GTlsCertificateFlags) -> i32>, pub handshake: Option<unsafe extern "C" fn(*mut _GDtlsConnection, *mut _GCancellable, *mut *mut _GError) -> i32>, pub handshake_async: Option<unsafe extern "C" fn(*mut _GDtlsConnection, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>, pub handshake_finish: Option<unsafe extern "C" fn(*mut _GDtlsConnection, *mut _GAsyncResult, *mut *mut _GError) -> i32>, pub shutdown: Option<unsafe extern "C" fn(*mut _GDtlsConnection, i32, i32, *mut _GCancellable, *mut *mut _GError) -> i32>, pub shutdown_async: Option<unsafe extern "C" fn(*mut _GDtlsConnection, i32, i32, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>, pub shutdown_finish: Option<unsafe extern "C" fn(*mut _GDtlsConnection, *mut _GAsyncResult, *mut *mut _GError) -> i32>, pub set_advertised_protocols: Option<unsafe extern "C" fn(*mut _GDtlsConnection, *const *const i8)>, pub get_negotiated_protocol: Option<unsafe extern "C" fn(*mut _GDtlsConnection) -> *const i8>, pub get_binding_data: Option<unsafe extern "C" fn(*mut _GDtlsConnection, GTlsChannelBindingType, *mut _GByteArray, *mut *mut _GError) -> i32>, }

Fields§

§g_iface: _GTypeInterface§accept_certificate: Option<unsafe extern "C" fn(*mut _GDtlsConnection, *mut _GTlsCertificate, GTlsCertificateFlags) -> i32>§handshake: Option<unsafe extern "C" fn(*mut _GDtlsConnection, *mut _GCancellable, *mut *mut _GError) -> i32>§handshake_async: Option<unsafe extern "C" fn(*mut _GDtlsConnection, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>§handshake_finish: Option<unsafe extern "C" fn(*mut _GDtlsConnection, *mut _GAsyncResult, *mut *mut _GError) -> i32>§shutdown: Option<unsafe extern "C" fn(*mut _GDtlsConnection, i32, i32, *mut _GCancellable, *mut *mut _GError) -> i32>§shutdown_async: Option<unsafe extern "C" fn(*mut _GDtlsConnection, i32, i32, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>§shutdown_finish: Option<unsafe extern "C" fn(*mut _GDtlsConnection, *mut _GAsyncResult, *mut *mut _GError) -> i32>§set_advertised_protocols: Option<unsafe extern "C" fn(*mut _GDtlsConnection, *const *const i8)>§get_negotiated_protocol: Option<unsafe extern "C" fn(*mut _GDtlsConnection) -> *const i8>§get_binding_data: Option<unsafe extern "C" fn(*mut _GDtlsConnection, GTlsChannelBindingType, *mut _GByteArray, *mut *mut _GError) -> i32>