pub type SSL_custom_ext_add_cb_ex = Option<unsafe extern "C" fn(ssl: *mut SSL, ext_type: c_uint, context: c_uint, out: *mut *const c_uchar, outlen: *mut size_t, x: *mut X509, chainidx: size_t, al: *mut c_int, add_arg: *mut c_void) -> c_int>;
Aliased Type§
pub enum SSL_custom_ext_add_cb_ex {
None,
Some(unsafe extern "C" fn(*mut SSL, u32, u32, *mut *const u8, *mut usize, *mut X509, usize, *mut i32, *mut c_void) -> i32),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(*mut SSL, u32, u32, *mut *const u8, *mut usize, *mut X509, usize, *mut i32, *mut c_void) -> i32)
Some value of type T
.
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.