librocksdb_sys

Function rocksdb_filterpolicy_create

Source
pub unsafe extern "C" fn rocksdb_filterpolicy_create(
    state: *mut c_void,
    destructor: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
    create_filter: Option<unsafe extern "C" fn(arg1: *mut c_void, key_array: *const *const c_char, key_length_array: *const usize, num_keys: c_int, filter_length: *mut usize) -> *mut c_char>,
    key_may_match: Option<unsafe extern "C" fn(arg1: *mut c_void, key: *const c_char, length: usize, filter: *const c_char, filter_length: usize) -> c_uchar>,
    delete_filter: Option<unsafe extern "C" fn(arg1: *mut c_void, filter: *const c_char, filter_length: usize)>,
    name: Option<unsafe extern "C" fn(arg1: *mut c_void) -> *const c_char>,
) -> *mut rocksdb_filterpolicy_t