mirror of
https://github.com/fumiama/fumidb.git
synced 2026-06-08 12:00:25 +08:00
16 lines
341 B
C
16 lines
341 B
C
#ifndef _TYPE_INT8_H_
|
|
#define _TYPE_INT8_H_
|
|
|
|
#include "../types.h"
|
|
|
|
#define INT8_INDEX_SZ (256*8)
|
|
|
|
uint64_t create_int8_index(int fd);
|
|
|
|
int insert_int8_item(int fd, uint64_t index, key_t k, uint64_t ptr);
|
|
|
|
uint64_t find_item_by_int8_key(int fd, uint64_t index, key_t k);
|
|
|
|
int remove_item_by_int8_key(int fd, uint64_t index, key_t k);
|
|
|
|
#endif |