#ifndef SHIM_RUST_CALLBACKS_INDEX_BASIC_HPP
#define SHIM_RUST_CALLBACKS_INDEX_BASIC_HPP
#include <cstddef>
#include <cstdint>
extern "C" {
int32_t rust__handler__index_init(void *ctx, uint32_t idx, bool sorted);
int32_t rust__handler__index_end(void *ctx);
int32_t rust__handler__index_read_map(void *ctx, uint8_t *buf, size_t buf_len,
const uint8_t *key, size_t key_len,
int32_t find_flag);
int32_t rust__handler__index_next(void *ctx, uint8_t *buf, size_t buf_len);
int32_t rust__handler__index_prev(void *ctx, uint8_t *buf, size_t buf_len);
int32_t rust__handler__index_first(void *ctx, uint8_t *buf, size_t buf_len);
int32_t rust__handler__index_last(void *ctx, uint8_t *buf, size_t buf_len);
int32_t rust__handler__index_next_same(void *ctx, uint8_t *buf, size_t buf_len,
const uint8_t *key, size_t key_len);
}
#endif