pub type GDtlsConnectionInterface = _GDtlsConnectionInterface;

Aliased Type§

struct GDtlsConnectionInterface {
    pub g_iface: _GTypeInterface,
    pub accept_certificate: Option<unsafe extern "C" fn(_: *mut _GDtlsConnection, _: *mut _GTlsCertificate, _: u32) -> 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, _: u32, _: *mut _GByteArray, _: *mut *mut _GError) -> i32>,
}

Fields§

§g_iface: _GTypeInterface§accept_certificate: Option<unsafe extern "C" fn(_: *mut _GDtlsConnection, _: *mut _GTlsCertificate, _: u32) -> 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, _: u32, _: *mut _GByteArray, _: *mut *mut _GError) -> i32>