librocksdb_sys

Function rocksdb_compactionfilter_create

Source
pub unsafe extern "C" fn rocksdb_compactionfilter_create(
    state: *mut c_void,
    destructor: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
    filter: Option<unsafe extern "C" fn(arg1: *mut c_void, level: c_int, key: *const c_char, key_length: usize, existing_value: *const c_char, value_length: usize, new_value: *mut *mut c_char, new_value_length: *mut usize, value_changed: *mut c_uchar) -> c_uchar>,
    name: Option<unsafe extern "C" fn(arg1: *mut c_void) -> *const c_char>,
) -> *mut rocksdb_compactionfilter_t