Skip to main content

apr_hashfunc_t

Type Alias apr_hashfunc_t 

Source
pub type apr_hashfunc_t = Option<unsafe extern "C" fn(key: *const c_char, klen: *mut apr_ssize_t) -> c_uint>;
Expand description

Callback functions for calculating hash values. @param key The key. @param klen The length of the key, or APR_HASH_KEY_STRING to use the string length. If APR_HASH_KEY_STRING then returns the actual key length.

Aliased Type§

pub enum apr_hashfunc_t {
    None,
    Some(unsafe extern "C" fn(*const i8, *mut isize) -> u32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const i8, *mut isize) -> u32)

Some value of type T.