pub unsafe extern "C" fn state_iterate_prefix(
prefix_start: *const u8,
prefix_length: u32
) -> u64
Expand description

Construct an iterator over a part of the tree. This locks the part of the tree that has the given prefix. Locking means that no deletions or insertions of entries may occur in that subtree. Returns

  • all 1 bits if too many iterators already exist with this key
  • all but second bit set to 1 if there is no value in the state with the given key
  • otherwise the first bit is 0, and the remaining bits are the iterator identifier that may be used in subsequent calls to advance it, or to get its key.