25 #ifndef __MOTR_BE_SEG_DICT_H__ 26 #define __MOTR_BE_SEG_DICT_H__ 59 const char *start_key,
60 const char **this_key,
64 const char *start_key,
65 const char **this_key,
M0_INTERNAL int m0_be_seg_dict_begin(struct m0_be_seg *seg, const char *start_key, const char **this_key, void **this_rec)
M0_INTERNAL int m0_be_seg_dict_insert(struct m0_be_seg *seg, struct m0_be_tx *tx, const char *name, void *value)
M0_INTERNAL void m0_be_seg_dict_init(struct m0_be_seg *seg)
M0_INTERNAL int m0_be_seg_dict_next(struct m0_be_seg *seg, const char *prefix, const char *start_key, const char **this_key, void **this_rec)
static struct m0_uint128 prefix
int const char const void * value
M0_INTERNAL int m0_be_seg_dict_delete(struct m0_be_seg *seg, struct m0_be_tx *tx, const char *name)
M0_INTERNAL void m0_be_seg_dict_fini(struct m0_be_seg *seg)
M0_INTERNAL void m0_be_seg_dict_destroy_credit(struct m0_be_seg *seg, struct m0_be_tx_credit *accum)
M0_INTERNAL void m0_be_seg_dict_delete_credit(struct m0_be_seg *seg, const char *name, struct m0_be_tx_credit *accum)
M0_INTERNAL void m0_be_seg_dict_create_credit(struct m0_be_seg *seg, struct m0_be_tx_credit *accum)
M0_INTERNAL void m0_be_seg_dict_destroy(struct m0_be_seg *seg, struct m0_be_tx *tx)
static struct m0_be_seg * seg
M0_INTERNAL void m0_be_seg_dict_create(struct m0_be_seg *seg, struct m0_be_tx *tx)
M0_INTERNAL void m0_be_seg_dict_insert_credit(struct m0_be_seg *seg, const char *name, struct m0_be_tx_credit *accum)
M0_INTERNAL int m0_be_seg_dict_lookup(struct m0_be_seg *seg, const char *name, void **out)