1
0
mirror of https://github.com/fumiama/fumidb.git synced 2026-06-10 13:10:37 +08:00

add types

This commit is contained in:
源文雨
2022-05-01 21:16:17 +08:00
parent eda10fba91
commit 67b9176615
17 changed files with 310 additions and 26 deletions

16
include/types/int8.h Normal file
View File

@@ -0,0 +1,16 @@
#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