Struct mbedtls_sys::mbedtls_ssl_config [] [src]

#[repr(C)]
pub struct mbedtls_ssl_config { pub ciphersuite_list: [*const c_int; 4], pub f_dbg: Option<unsafe extern "C" fn(_: *mut c_void, _: c_int, _: *const c_char, _: c_int, _: *const c_char)>, pub p_dbg: *mut c_void, pub f_rng: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_uchar, _: size_t) -> c_int>, pub p_rng: *mut c_void, pub f_get_cache: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut mbedtls_ssl_session) -> c_int>, pub f_set_cache: Option<unsafe extern "C" fn(_: *mut c_void, _: *const mbedtls_ssl_session) -> c_int>, pub p_cache: *mut c_void, pub f_sni: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut mbedtls_ssl_context, _: *const c_uchar, _: size_t) -> c_int>, pub p_sni: *mut c_void, pub f_vrfy: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut mbedtls_x509_crt, _: c_int, _: *mut uint32_t) -> c_int>, pub p_vrfy: *mut c_void, pub f_psk: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut mbedtls_ssl_context, _: *const c_uchar, _: size_t) -> c_int>, pub p_psk: *mut c_void, pub f_cookie_write: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut *mut c_uchar, _: *mut c_uchar, _: *const c_uchar, _: size_t) -> c_int>, pub f_cookie_check: Option<unsafe extern "C" fn(_: *mut c_void, _: *const c_uchar, _: size_t, _: *const c_uchar, _: size_t) -> c_int>, pub p_cookie: *mut c_void, pub f_ticket_write: Option<unsafe extern "C" fn(_: *mut c_void, _: *const mbedtls_ssl_session, _: *mut c_uchar, _: *const c_uchar, _: *mut size_t, _: *mut uint32_t) -> c_int>, pub f_ticket_parse: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut mbedtls_ssl_session, _: *mut c_uchar, _: size_t) -> c_int>, pub p_ticket: *mut c_void, pub cert_profile: *const mbedtls_x509_crt_profile, pub key_cert: *mut mbedtls_ssl_key_cert, pub ca_chain: *mut mbedtls_x509_crt, pub ca_crl: *mut mbedtls_x509_crl, pub sig_hashes: *const c_int, pub curve_list: *const mbedtls_ecp_group_id, pub dhm_P: mbedtls_mpi, pub dhm_G: mbedtls_mpi, pub psk: *mut c_uchar, pub psk_len: size_t, pub psk_identity: *mut c_uchar, pub psk_identity_len: size_t, pub alpn_list: *mut *const c_char, pub read_timeout: uint32_t, pub hs_timeout_min: uint32_t, pub hs_timeout_max: uint32_t, pub badmac_limit: c_uint, pub dhm_min_bitlen: c_uint, pub max_major_ver: c_uchar, pub max_minor_ver: c_uchar, pub min_major_ver: c_uchar, pub min_minor_ver: c_uchar, pub _bindgen_bitfield_1_: c_uint, }

Fields

Trait Implementations

impl Copy for mbedtls_ssl_config
[src]

impl Clone for mbedtls_ssl_config
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for mbedtls_ssl_config
[src]

Formats the value using the given formatter.

impl Default for mbedtls_ssl_config
[src]

Returns the "default value" for a type. Read more