librocksdb_sys

Function rocksdb_mergeoperator_create

Source
pub unsafe extern "C" fn rocksdb_mergeoperator_create(
    state: *mut c_void,
    destructor: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
    full_merge: Option<unsafe extern "C" fn(arg1: *mut c_void, key: *const c_char, key_length: usize, existing_value: *const c_char, existing_value_length: usize, operands_list: *const *const c_char, operands_list_length: *const usize, num_operands: c_int, success: *mut c_uchar, new_value_length: *mut usize) -> *mut c_char>,
    partial_merge: Option<unsafe extern "C" fn(arg1: *mut c_void, key: *const c_char, key_length: usize, operands_list: *const *const c_char, operands_list_length: *const usize, num_operands: c_int, success: *mut c_uchar, new_value_length: *mut usize) -> *mut c_char>,
    delete_value: Option<unsafe extern "C" fn(arg1: *mut c_void, value: *const c_char, value_length: usize)>,
    name: Option<unsafe extern "C" fn(arg1: *mut c_void) -> *const c_char>,
) -> *mut rocksdb_mergeoperator_t