librocksdb_sys

Function rocksdb_slicetransform_create

Source
pub unsafe extern "C" fn rocksdb_slicetransform_create(
    state: *mut c_void,
    destructor: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
    transform: Option<unsafe extern "C" fn(arg1: *mut c_void, key: *const c_char, length: usize, dst_length: *mut usize) -> *mut c_char>,
    in_domain: Option<unsafe extern "C" fn(arg1: *mut c_void, key: *const c_char, length: usize) -> c_uchar>,
    in_range: Option<unsafe extern "C" fn(arg1: *mut c_void, key: *const c_char, length: usize) -> c_uchar>,
    name: Option<unsafe extern "C" fn(arg1: *mut c_void) -> *const c_char>,
) -> *mut rocksdb_slicetransform_t