Motr  M0
m0_be_btree_kv_ops Struct Reference

#include <btree.h>

Collaboration diagram for m0_be_btree_kv_ops:
Collaboration graph

Data Fields

uint64_t ko_type
 
m0_bcount_t(* ko_ksize )(const void *key)
 
m0_bcount_t(* ko_vsize )(const void *data)
 
int(* ko_compare )(const void *key0, const void *key1)
 

Detailed Description

Btree operations vector.

Definition at line 96 of file btree.h.

Field Documentation

◆ ko_compare

int(* ko_compare) (const void *key0, const void *key1)

Key comparison function.

Should return -ve, 0 or +ve value depending on how key0 and key1 compare in key ordering.

XXX RENAMEME? s/ko_compare/ko_key_cmp/

Definition at line 113 of file btree.h.

◆ ko_ksize

m0_bcount_t(* ko_ksize) (const void *key)

Size of key. XXX RENAMEME? s/ko_ksize/ko_key_size/

Definition at line 99 of file btree.h.

◆ ko_type

uint64_t ko_type

m0_be_btree_type

Definition at line 97 of file btree.h.

◆ ko_vsize

m0_bcount_t(* ko_vsize) (const void *data)

Size of value. XXX RENAMEME? s/ko_vsize/ko_val_size/

Definition at line 103 of file btree.h.


The documentation for this struct was generated from the following file: