pub type GTlsConnectionClass = _GTlsConnectionClass;

Aliased Type§

struct GTlsConnectionClass {
    pub parent_class: _GIOStreamClass,
    pub accept_certificate: Option<unsafe extern "C" fn(_: *mut _GTlsConnection, _: *mut _GTlsCertificate, _: u32) -> i32>,
    pub handshake: Option<unsafe extern "C" fn(_: *mut _GTlsConnection, _: *mut _GCancellable, _: *mut *mut _GError) -> i32>,
    pub handshake_async: Option<unsafe extern "C" fn(_: *mut _GTlsConnection, _: 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 _GTlsConnection, _: *mut _GAsyncResult, _: *mut *mut _GError) -> i32>,
    pub get_binding_data: Option<unsafe extern "C" fn(_: *mut _GTlsConnection, _: u32, _: *mut _GByteArray, _: *mut *mut _GError) -> i32>,
    pub get_negotiated_protocol: Option<unsafe extern "C" fn(_: *mut _GTlsConnection) -> *const i8>,
    pub padding: [*mut c_void; 6],
}

Fields§

§parent_class: _GIOStreamClass§accept_certificate: Option<unsafe extern "C" fn(_: *mut _GTlsConnection, _: *mut _GTlsCertificate, _: u32) -> i32>§handshake: Option<unsafe extern "C" fn(_: *mut _GTlsConnection, _: *mut _GCancellable, _: *mut *mut _GError) -> i32>§handshake_async: Option<unsafe extern "C" fn(_: *mut _GTlsConnection, _: 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 _GTlsConnection, _: *mut _GAsyncResult, _: *mut *mut _GError) -> i32>§get_binding_data: Option<unsafe extern "C" fn(_: *mut _GTlsConnection, _: u32, _: *mut _GByteArray, _: *mut *mut _GError) -> i32>§get_negotiated_protocol: Option<unsafe extern "C" fn(_: *mut _GTlsConnection) -> *const i8>§padding: [*mut c_void; 6]