#include #include #include #include void *new_fst_builder(void); int32_t add_key(void *arg, const uint8_t *key, uint32_t len, uint64_t value); int32_t finish(void *arg); const uint8_t *bytes(void *arg, uint32_t *len, uint32_t *cap); void reset(void *arg); void *load(uint8_t *key, uint32_t len, uint32_t cap); int64_t get(void *arg, const uint8_t *key, uint32_t len); int64_t near(void *arg, const uint8_t *key, uint32_t len);