libldap_sys

Type Alias BerMemoryFunctions

Source
pub type BerMemoryFunctions = lber_memory_fns;

Aliased Type§

struct BerMemoryFunctions {
    pub bmf_malloc: Option<unsafe extern "C" fn(_: u64, _: *mut c_void) -> *mut c_void>,
    pub bmf_calloc: Option<unsafe extern "C" fn(_: u64, _: u64, _: *mut c_void) -> *mut c_void>,
    pub bmf_realloc: Option<unsafe extern "C" fn(_: *mut c_void, _: u64, _: *mut c_void) -> *mut c_void>,
    pub bmf_free: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void)>,
}

Fields§

§bmf_malloc: Option<unsafe extern "C" fn(_: u64, _: *mut c_void) -> *mut c_void>§bmf_calloc: Option<unsafe extern "C" fn(_: u64, _: u64, _: *mut c_void) -> *mut c_void>§bmf_realloc: Option<unsafe extern "C" fn(_: *mut c_void, _: u64, _: *mut c_void) -> *mut c_void>§bmf_free: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void)>